- java.lang.Object
-
- org.snmp4j.agent.mo.snmp.SnmpTlsTmMib
-
- All Implemented Interfaces:
MOGroup
,org.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
public class SnmpTlsTmMib extends Object implements MOGroup, org.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
-
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
-
-
-
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 String tcModuleSnmpTlsTmMib
- See Also:
- Constant Field Values
-
tcDefSnmpTLSFingerprint
public static final String tcDefSnmpTLSFingerprint
- See Also:
- Constant Field Values
-
tcModuleSNMPv2Tc
public static final String tcModuleSNMPv2Tc
- See Also:
- Constant Field Values
-
tcDefAutonomousType
public static final String tcDefAutonomousType
- See Also:
- Constant Field Values
-
tcDefStorageType
public static final String tcDefStorageType
- See Also:
- Constant Field Values
-
tcDefRowStatus
public static final 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 String tcModuleSnmpFrameworkMib
- See Also:
- Constant Field Values
-
tcDefSnmpAdminString
public static final 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(X509Certificate peerEndCertificate) throws CertificateException
- Specified by:
isClientCertificateAccepted
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
- Throws:
CertificateException
-
getSecurityName
public org.snmp4j.smi.OctetString getSecurityName(X509Certificate[] peerCertificateChain)
- Specified by:
getSecurityName
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
isServerCertificateAccepted
public boolean isServerCertificateAccepted(X509Certificate[] peerCertificateChain)
- Specified by:
isServerCertificateAccepted
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
isAcceptedIssuer
public boolean isAcceptedIssuer(X509Certificate issuerCertificate)
- Specified by:
isAcceptedIssuer
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
getLocalCertificateAlias
public String getLocalCertificateAlias(org.snmp4j.smi.Address targetAddress)
- Specified by:
getLocalCertificateAlias
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
addTCsToFactory
protected void addTCsToFactory(MOFactory moFactory)
-
addImportedTCsToFactory
public void addImportedTCsToFactory(MOFactory moFactory)
-
-