- java.lang.Object
-
- org.snmp4j.agent.mo.snmp.SnmpTlsTmMib
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SnmpTlsTmMib.SnmpTLSFingerprint
class
SnmpTlsTmMib.SnmpTlstmAddrEntryRow
class
SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow
class
SnmpTlsTmMib.SnmpTlstmParamsEntryRow
static class
SnmpTlsTmMib.TDomainTLSAddressFactory
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
SnmpTlsTmMib()
Constructs a SnmpTlsTmMib instance without actually creating itsManagedObject
instances.SnmpTlsTmMib(MOFactory moFactory)
Constructs a SnmpTlsTmMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
).SnmpTlsTmMib(MOFactory moFactory, SnmpTargetMIB snmpTargetMIB)
Constructs a SnmpTlsTmMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
) .
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addImportedTCsToFactory(MOFactory moFactory)
protected void
addTCsToFactory(MOFactory moFactory)
void
addTlsDomainsToSnmpTargetMIB(SnmpTargetMIB snmpTargetMIB)
protected void
createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.org.snmp4j.event.CounterListener
getCounterListener()
java.lang.String
getLocalCertificateAlias(org.snmp4j.smi.Address targetAddress)
org.snmp4j.smi.OctetString
getSecurityName(java.security.cert.X509Certificate[] peerCertificateChain)
MOScalar<RowCount>
getSnmpTlstmAddrCount()
MOTable<SnmpTlsTmMib.SnmpTlstmAddrEntryRow,MOColumn,MOTableModel<SnmpTlsTmMib.SnmpTlstmAddrEntryRow>>
getSnmpTlstmAddrEntry()
MOScalar<org.snmp4j.smi.TimeTicks>
getSnmpTlstmAddrTableLastChanged()
MOScalar<RowCount>
getSnmpTlstmCertToTSNCount()
MOTable<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow,MOColumn,DefaultMOMutableTableModel<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow>>
getSnmpTlstmCertToTSNEntry()
MOScalar<org.snmp4j.smi.TimeTicks>
getSnmpTlstmCertToTSNTableLastChanged()
MOScalar<RowCount>
getSnmpTlstmParamsCount()
MOTable<SnmpTlsTmMib.SnmpTlstmParamsEntryRow,MOColumn,MOTableModel<SnmpTlsTmMib.SnmpTlstmParamsEntryRow>>
getSnmpTlstmParamsEntry()
MOScalar<org.snmp4j.smi.TimeTicks>
getSnmpTlstmParamsTableLastChanged()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionAccepts()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionClientCloses()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionInvalidCaches()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionInvalidClientCertificates()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionInvalidServerCertificates()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionNoSessions()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionOpenErrors()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionOpens()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionServerCloses()
MOScalar<org.snmp4j.smi.Counter32>
getSnmpTlstmSessionUnknownServerCertificate()
boolean
isAcceptedIssuer(java.security.cert.X509Certificate issuerCertificate)
boolean
isClientCertificateAccepted(java.security.cert.X509Certificate peerEndCertificate)
boolean
isServerCertificateAccepted(java.security.cert.X509Certificate[] peerCertificateChain)
void
registerMOs(MOServer server, org.snmp4j.smi.OctetString context)
Registers the managed objects of this group with the server for the supplied context.void
removeTlsDomainsFromSnmpTargetMIB(SnmpTargetMIB snmpTargetMIB)
void
snmpTlstmServerCertificateUnknown(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
void
snmpTlstmServerInvalidCertificate(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
void
unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
Unregisters the managed objects of this group from the supplied server and from the supplied context.
-
-
-
Field Detail
-
oidSnmpTlsTmMib
public static final org.snmp4j.smi.OID oidSnmpTlsTmMib
OID of this MIB module for usage which can be used for its identification.
-
oidSnmpTlstmCertSpecified
public static final org.snmp4j.smi.OID oidSnmpTlstmCertSpecified
-
oidSnmpTlstmCertSANRFC822Name
public static final org.snmp4j.smi.OID oidSnmpTlstmCertSANRFC822Name
-
oidSnmpTlstmCertSANDNSName
public static final org.snmp4j.smi.OID oidSnmpTlstmCertSANDNSName
-
oidSnmpTlstmCertSANIpAddress
public static final org.snmp4j.smi.OID oidSnmpTlstmCertSANIpAddress
-
oidSnmpTlstmCertSANAny
public static final org.snmp4j.smi.OID oidSnmpTlstmCertSANAny
-
oidSnmpTlstmCertCommonName
public static final org.snmp4j.smi.OID oidSnmpTlstmCertCommonName
-
oidSnmpTLSTCPDomain
public static final org.snmp4j.smi.OID oidSnmpTLSTCPDomain
-
oidSnmpDTLSUDPDomain
public static final org.snmp4j.smi.OID oidSnmpDTLSUDPDomain
-
oidSnmpTlstmSessionOpens
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionOpens
-
oidSnmpTlstmSessionClientCloses
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionClientCloses
-
oidSnmpTlstmSessionOpenErrors
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionOpenErrors
-
oidSnmpTlstmSessionAccepts
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionAccepts
-
oidSnmpTlstmSessionServerCloses
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionServerCloses
-
oidSnmpTlstmSessionNoSessions
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionNoSessions
-
oidSnmpTlstmSessionInvalidClientCertificates
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionInvalidClientCertificates
-
oidSnmpTlstmSessionUnknownServerCertificate
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionUnknownServerCertificate
-
oidSnmpTlstmSessionInvalidServerCertificates
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionInvalidServerCertificates
-
oidSnmpTlstmSessionInvalidCaches
public static final org.snmp4j.smi.OID oidSnmpTlstmSessionInvalidCaches
-
oidSnmpTlstmCertToTSNCount
public static final org.snmp4j.smi.OID oidSnmpTlstmCertToTSNCount
-
oidSnmpTlstmCertToTSNTableLastChanged
public static final org.snmp4j.smi.OID oidSnmpTlstmCertToTSNTableLastChanged
-
oidSnmpTlstmParamsCount
public static final org.snmp4j.smi.OID oidSnmpTlstmParamsCount
-
oidSnmpTlstmParamsTableLastChanged
public static final org.snmp4j.smi.OID oidSnmpTlstmParamsTableLastChanged
-
oidSnmpTlstmAddrCount
public static final org.snmp4j.smi.OID oidSnmpTlstmAddrCount
-
oidSnmpTlstmAddrTableLastChanged
public static final org.snmp4j.smi.OID oidSnmpTlstmAddrTableLastChanged
-
oidSnmpTlstmServerCertificateUnknown
public static final org.snmp4j.smi.OID oidSnmpTlstmServerCertificateUnknown
-
oidTrapVarSnmpTlstmSessionUnknownServerCertificate
public static final org.snmp4j.smi.OID oidTrapVarSnmpTlstmSessionUnknownServerCertificate
-
oidSnmpTlstmServerInvalidCertificate
public static final org.snmp4j.smi.OID oidSnmpTlstmServerInvalidCertificate
-
oidTrapVarSnmpTlstmAddrServerFingerprint
public static final org.snmp4j.smi.OID oidTrapVarSnmpTlstmAddrServerFingerprint
-
oidTrapVarSnmpTlstmSessionInvalidServerCertificates
public static final org.snmp4j.smi.OID oidTrapVarSnmpTlstmSessionInvalidServerCertificates
-
oidSnmpTlstmCertToTSNEntry
public static final org.snmp4j.smi.OID oidSnmpTlstmCertToTSNEntry
-
oidSnmpTlstmCertToTSNID
public static final org.snmp4j.smi.OID oidSnmpTlstmCertToTSNID
-
tcModuleSnmpTlsTmMib
public static final java.lang.String tcModuleSnmpTlsTmMib
- See Also:
- Constant Field Values
-
tcDefSnmpTLSFingerprint
public static final java.lang.String tcDefSnmpTLSFingerprint
- See Also:
- Constant Field Values
-
tcModuleSNMPv2Tc
public static final java.lang.String tcModuleSNMPv2Tc
- See Also:
- Constant Field Values
-
tcDefAutonomousType
public static final java.lang.String tcDefAutonomousType
- See Also:
- Constant Field Values
-
tcDefStorageType
public static final java.lang.String tcDefStorageType
- See Also:
- Constant Field Values
-
tcDefRowStatus
public static final java.lang.String tcDefRowStatus
- See Also:
- Constant Field Values
-
colSnmpTlstmCertToTSNFingerprint
public static final int colSnmpTlstmCertToTSNFingerprint
- See Also:
- Constant Field Values
-
colSnmpTlstmCertToTSNMapType
public static final int colSnmpTlstmCertToTSNMapType
- See Also:
- Constant Field Values
-
colSnmpTlstmCertToTSNData
public static final int colSnmpTlstmCertToTSNData
- See Also:
- Constant Field Values
-
colSnmpTlstmCertToTSNStorageType
public static final int colSnmpTlstmCertToTSNStorageType
- See Also:
- Constant Field Values
-
colSnmpTlstmCertToTSNRowStatus
public static final int colSnmpTlstmCertToTSNRowStatus
- See Also:
- Constant Field Values
-
idxSnmpTlstmCertToTSNFingerprint
public static final int idxSnmpTlstmCertToTSNFingerprint
- See Also:
- Constant Field Values
-
idxSnmpTlstmCertToTSNMapType
public static final int idxSnmpTlstmCertToTSNMapType
- See Also:
- Constant Field Values
-
idxSnmpTlstmCertToTSNData
public static final int idxSnmpTlstmCertToTSNData
- See Also:
- Constant Field Values
-
idxSnmpTlstmCertToTSNStorageType
public static final int idxSnmpTlstmCertToTSNStorageType
- See Also:
- Constant Field Values
-
idxSnmpTlstmCertToTSNRowStatus
public static final int idxSnmpTlstmCertToTSNRowStatus
- See Also:
- Constant Field Values
-
oidSnmpTlstmParamsEntry
public static final org.snmp4j.smi.OID oidSnmpTlstmParamsEntry
-
oidSnmpTargetParamsName
public static final org.snmp4j.smi.OID oidSnmpTargetParamsName
-
colSnmpTlstmParamsClientFingerprint
public static final int colSnmpTlstmParamsClientFingerprint
- See Also:
- Constant Field Values
-
colSnmpTlstmParamsStorageType
public static final int colSnmpTlstmParamsStorageType
- See Also:
- Constant Field Values
-
colSnmpTlstmParamsRowStatus
public static final int colSnmpTlstmParamsRowStatus
- See Also:
- Constant Field Values
-
idxSnmpTlstmParamsClientFingerprint
public static final int idxSnmpTlstmParamsClientFingerprint
- See Also:
- Constant Field Values
-
idxSnmpTlstmParamsStorageType
public static final int idxSnmpTlstmParamsStorageType
- See Also:
- Constant Field Values
-
idxSnmpTlstmParamsRowStatus
public static final int idxSnmpTlstmParamsRowStatus
- See Also:
- Constant Field Values
-
oidSnmpTlstmAddrEntry
public static final org.snmp4j.smi.OID oidSnmpTlstmAddrEntry
-
oidSnmpTargetAddrName
public static final org.snmp4j.smi.OID oidSnmpTargetAddrName
-
tcModuleSnmpFrameworkMib
public static final java.lang.String tcModuleSnmpFrameworkMib
- See Also:
- Constant Field Values
-
tcDefSnmpAdminString
public static final java.lang.String tcDefSnmpAdminString
- See Also:
- Constant Field Values
-
colSnmpTlstmAddrServerFingerprint
public static final int colSnmpTlstmAddrServerFingerprint
- See Also:
- Constant Field Values
-
colSnmpTlstmAddrServerIdentity
public static final int colSnmpTlstmAddrServerIdentity
- See Also:
- Constant Field Values
-
colSnmpTlstmAddrStorageType
public static final int colSnmpTlstmAddrStorageType
- See Also:
- Constant Field Values
-
colSnmpTlstmAddrRowStatus
public static final int colSnmpTlstmAddrRowStatus
- See Also:
- Constant Field Values
-
idxSnmpTlstmAddrServerFingerprint
public static final int idxSnmpTlstmAddrServerFingerprint
- See Also:
- Constant Field Values
-
idxSnmpTlstmAddrServerIdentity
public static final int idxSnmpTlstmAddrServerIdentity
- See Also:
- Constant Field Values
-
idxSnmpTlstmAddrStorageType
public static final int idxSnmpTlstmAddrStorageType
- See Also:
- Constant Field Values
-
idxSnmpTlstmAddrRowStatus
public static final int idxSnmpTlstmAddrRowStatus
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SnmpTlsTmMib
protected SnmpTlsTmMib()
Constructs a SnmpTlsTmMib instance without actually creating itsManagedObject
instances. This has to be done in a sub-class constructor or after construction by callingcreateMO(MOFactory moFactory)
.
-
SnmpTlsTmMib
public SnmpTlsTmMib(MOFactory moFactory)
Constructs a SnmpTlsTmMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
).- Parameters:
moFactory
- theMOFactory
to be used to create the managed objects for this module.
-
SnmpTlsTmMib
public SnmpTlsTmMib(MOFactory moFactory, SnmpTargetMIB snmpTargetMIB)
Constructs a SnmpTlsTmMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
) .- Parameters:
moFactory
- theMOFactory
to be used to create the managed objects for this module.snmpTargetMIB
- the SNMP-TARGET-MIB where the TLS domains should be registered (i.e. where the parent tables for this MIB module resides).- Since:
- 3.2.1
-
-
Method Detail
-
addTlsDomainsToSnmpTargetMIB
public void addTlsDomainsToSnmpTargetMIB(SnmpTargetMIB snmpTargetMIB)
-
removeTlsDomainsFromSnmpTargetMIB
public void removeTlsDomainsFromSnmpTargetMIB(SnmpTargetMIB snmpTargetMIB)
-
createMO
protected void createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.- Parameters:
moFactory
- theMOFactory
instance to use for object creation.
-
getSnmpTlstmSessionOpens
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionOpens()
-
getSnmpTlstmSessionClientCloses
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionClientCloses()
-
getSnmpTlstmSessionOpenErrors
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionOpenErrors()
-
getSnmpTlstmSessionAccepts
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionAccepts()
-
getSnmpTlstmSessionServerCloses
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionServerCloses()
-
getSnmpTlstmSessionNoSessions
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionNoSessions()
-
getSnmpTlstmSessionInvalidClientCertificates
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionInvalidClientCertificates()
-
getSnmpTlstmSessionUnknownServerCertificate
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionUnknownServerCertificate()
-
getSnmpTlstmSessionInvalidServerCertificates
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionInvalidServerCertificates()
-
getSnmpTlstmSessionInvalidCaches
public MOScalar<org.snmp4j.smi.Counter32> getSnmpTlstmSessionInvalidCaches()
-
getSnmpTlstmCertToTSNTableLastChanged
public MOScalar<org.snmp4j.smi.TimeTicks> getSnmpTlstmCertToTSNTableLastChanged()
-
getSnmpTlstmParamsTableLastChanged
public MOScalar<org.snmp4j.smi.TimeTicks> getSnmpTlstmParamsTableLastChanged()
-
getSnmpTlstmAddrTableLastChanged
public MOScalar<org.snmp4j.smi.TimeTicks> getSnmpTlstmAddrTableLastChanged()
-
getSnmpTlstmCertToTSNEntry
public MOTable<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow,MOColumn,DefaultMOMutableTableModel<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow>> getSnmpTlstmCertToTSNEntry()
-
getSnmpTlstmParamsEntry
public MOTable<SnmpTlsTmMib.SnmpTlstmParamsEntryRow,MOColumn,MOTableModel<SnmpTlsTmMib.SnmpTlstmParamsEntryRow>> getSnmpTlstmParamsEntry()
-
getSnmpTlstmAddrEntry
public MOTable<SnmpTlsTmMib.SnmpTlstmAddrEntryRow,MOColumn,MOTableModel<SnmpTlsTmMib.SnmpTlstmAddrEntryRow>> getSnmpTlstmAddrEntry()
-
registerMOs
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
Description copied from interface:MOGroup
Registers the managed objects of this group with the server for the supplied context.- Specified by:
registerMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to register the managed objects.context
- the context to use (may benull
if no specific context is selected).- Throws:
DuplicateRegistrationException
- if a managed object's scope (i.e. lower bound) is already registered at the server.
-
unregisterMOs
public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
Description copied from interface:MOGroup
Unregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to unregister the managed objects.context
- the context to use (may benull
if no specific context is selected).
-
snmpTlstmServerCertificateUnknown
public void snmpTlstmServerCertificateUnknown(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
-
snmpTlstmServerInvalidCertificate
public void snmpTlstmServerInvalidCertificate(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
-
getCounterListener
public org.snmp4j.event.CounterListener getCounterListener()
-
isClientCertificateAccepted
public boolean isClientCertificateAccepted(java.security.cert.X509Certificate peerEndCertificate) throws java.security.cert.CertificateException
- Specified by:
isClientCertificateAccepted
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>
- Throws:
java.security.cert.CertificateException
-
getSecurityName
public org.snmp4j.smi.OctetString getSecurityName(java.security.cert.X509Certificate[] peerCertificateChain)
- Specified by:
getSecurityName
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>
-
isServerCertificateAccepted
public boolean isServerCertificateAccepted(java.security.cert.X509Certificate[] peerCertificateChain)
- Specified by:
isServerCertificateAccepted
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>
-
isAcceptedIssuer
public boolean isAcceptedIssuer(java.security.cert.X509Certificate issuerCertificate)
- Specified by:
isAcceptedIssuer
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>
-
getLocalCertificateAlias
public java.lang.String getLocalCertificateAlias(org.snmp4j.smi.Address targetAddress)
- Specified by:
getLocalCertificateAlias
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>
-
addTCsToFactory
protected void addTCsToFactory(MOFactory moFactory)
-
addImportedTCsToFactory
public void addImportedTCsToFactory(MOFactory moFactory)
-
-