Package org.snmp4j.agent.mo.snmp
Class SnmpTlsTmMib
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
Modifier and TypeClassDescriptionclass
class
class
class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
OID of this MIB module for usage which can be used for its identification.static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionvoid
addImportedTCsToFactory
(MOFactory moFactory) protected void
addTCsToFactory
(MOFactory moFactory) void
addTlsDomainsToSnmpTargetMIB
(SnmpTargetMIB snmpTargetMIB) protected void
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.org.snmp4j.event.CounterListener
getLocalCertificateAlias
(org.snmp4j.smi.Address targetAddress) org.snmp4j.smi.OctetString
getSecurityName
(X509Certificate[] peerCertificateChain) MOTable<SnmpTlsTmMib.SnmpTlstmAddrEntryRow,
MOColumn, MOTableModel<SnmpTlsTmMib.SnmpTlstmAddrEntryRow>> MOScalar<org.snmp4j.smi.TimeTicks>
MOTable<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow,
MOColumn, DefaultMOMutableTableModel<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow>> MOScalar<org.snmp4j.smi.TimeTicks>
MOTable<SnmpTlsTmMib.SnmpTlstmParamsEntryRow,
MOColumn, MOTableModel<SnmpTlsTmMib.SnmpTlstmParamsEntryRow>> MOScalar<org.snmp4j.smi.TimeTicks>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
MOScalar<org.snmp4j.smi.Counter32>
boolean
isAcceptedIssuer
(X509Certificate issuerCertificate) boolean
isClientCertificateAccepted
(X509Certificate peerEndCertificate) boolean
isServerCertificateAccepted
(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 Details
-
oidSnmpTlsTmMib
public static final org.snmp4j.smi.OID oidSnmpTlsTmMibOID 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
- See Also:
-
tcDefSnmpTLSFingerprint
- See Also:
-
tcModuleSNMPv2Tc
- See Also:
-
tcDefAutonomousType
- See Also:
-
tcDefStorageType
- See Also:
-
tcDefRowStatus
- See Also:
-
colSnmpTlstmCertToTSNFingerprint
public static final int colSnmpTlstmCertToTSNFingerprint- See Also:
-
colSnmpTlstmCertToTSNMapType
public static final int colSnmpTlstmCertToTSNMapType- See Also:
-
colSnmpTlstmCertToTSNData
public static final int colSnmpTlstmCertToTSNData- See Also:
-
colSnmpTlstmCertToTSNStorageType
public static final int colSnmpTlstmCertToTSNStorageType- See Also:
-
colSnmpTlstmCertToTSNRowStatus
public static final int colSnmpTlstmCertToTSNRowStatus- See Also:
-
idxSnmpTlstmCertToTSNFingerprint
public static final int idxSnmpTlstmCertToTSNFingerprint- See Also:
-
idxSnmpTlstmCertToTSNMapType
public static final int idxSnmpTlstmCertToTSNMapType- See Also:
-
idxSnmpTlstmCertToTSNData
public static final int idxSnmpTlstmCertToTSNData- See Also:
-
idxSnmpTlstmCertToTSNStorageType
public static final int idxSnmpTlstmCertToTSNStorageType- See Also:
-
idxSnmpTlstmCertToTSNRowStatus
public static final int idxSnmpTlstmCertToTSNRowStatus- See Also:
-
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:
-
colSnmpTlstmParamsStorageType
public static final int colSnmpTlstmParamsStorageType- See Also:
-
colSnmpTlstmParamsRowStatus
public static final int colSnmpTlstmParamsRowStatus- See Also:
-
idxSnmpTlstmParamsClientFingerprint
public static final int idxSnmpTlstmParamsClientFingerprint- See Also:
-
idxSnmpTlstmParamsStorageType
public static final int idxSnmpTlstmParamsStorageType- See Also:
-
idxSnmpTlstmParamsRowStatus
public static final int idxSnmpTlstmParamsRowStatus- See Also:
-
oidSnmpTlstmAddrEntry
public static final org.snmp4j.smi.OID oidSnmpTlstmAddrEntry -
oidSnmpTargetAddrName
public static final org.snmp4j.smi.OID oidSnmpTargetAddrName -
tcModuleSnmpFrameworkMib
- See Also:
-
tcDefSnmpAdminString
- See Also:
-
colSnmpTlstmAddrServerFingerprint
public static final int colSnmpTlstmAddrServerFingerprint- See Also:
-
colSnmpTlstmAddrServerIdentity
public static final int colSnmpTlstmAddrServerIdentity- See Also:
-
colSnmpTlstmAddrStorageType
public static final int colSnmpTlstmAddrStorageType- See Also:
-
colSnmpTlstmAddrRowStatus
public static final int colSnmpTlstmAddrRowStatus- See Also:
-
idxSnmpTlstmAddrServerFingerprint
public static final int idxSnmpTlstmAddrServerFingerprint- See Also:
-
idxSnmpTlstmAddrServerIdentity
public static final int idxSnmpTlstmAddrServerIdentity- See Also:
-
idxSnmpTlstmAddrStorageType
public static final int idxSnmpTlstmAddrStorageType- See Also:
-
idxSnmpTlstmAddrRowStatus
public static final int idxSnmpTlstmAddrRowStatus- See Also:
-
-
Constructor Details
-
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
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
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 Details
-
addTlsDomainsToSnmpTargetMIB
-
removeTlsDomainsFromSnmpTargetMIB
-
createMO
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.- Parameters:
moFactory
- theMOFactory
instance to use for object creation.
-
getSnmpTlstmSessionOpens
-
getSnmpTlstmSessionClientCloses
-
getSnmpTlstmSessionOpenErrors
-
getSnmpTlstmSessionAccepts
-
getSnmpTlstmSessionServerCloses
-
getSnmpTlstmSessionNoSessions
-
getSnmpTlstmSessionInvalidClientCertificates
-
getSnmpTlstmSessionUnknownServerCertificate
-
getSnmpTlstmSessionInvalidServerCertificates
-
getSnmpTlstmSessionInvalidCaches
-
getSnmpTlstmCertToTSNCount
-
getSnmpTlstmCertToTSNTableLastChanged
-
getSnmpTlstmParamsCount
-
getSnmpTlstmParamsTableLastChanged
-
getSnmpTlstmAddrCount
-
getSnmpTlstmAddrTableLastChanged
-
getSnmpTlstmCertToTSNEntry
public MOTable<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow,MOColumn, getSnmpTlstmCertToTSNEntry()DefaultMOMutableTableModel<SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow>> -
getSnmpTlstmParamsEntry
public MOTable<SnmpTlsTmMib.SnmpTlstmParamsEntryRow,MOColumn, getSnmpTlstmParamsEntry()MOTableModel<SnmpTlsTmMib.SnmpTlstmParamsEntryRow>> -
getSnmpTlstmAddrEntry
public MOTable<SnmpTlsTmMib.SnmpTlstmAddrEntryRow,MOColumn, getSnmpTlstmAddrEntry()MOTableModel<SnmpTlsTmMib.SnmpTlstmAddrEntryRow>> -
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
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
- Specified by:
getSecurityName
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
isServerCertificateAccepted
- Specified by:
isServerCertificateAccepted
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
isAcceptedIssuer
- Specified by:
isAcceptedIssuer
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
getLocalCertificateAlias
- Specified by:
getLocalCertificateAlias
in interfaceorg.snmp4j.transport.tls.TlsTmSecurityCallback<X509Certificate>
-
addTCsToFactory
-
addImportedTCsToFactory
-