org.snmp4j.agent.mo.snmp
Class SnmpTlsTmMib

java.lang.Object
  extended by org.snmp4j.agent.mo.snmp.SnmpTlsTmMib
All Implemented Interfaces:
MOGroup, org.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>

public class SnmpTlsTmMib
extends java.lang.Object
implements MOGroup, org.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>


Nested Class Summary
 class SnmpTlsTmMib.SnmpAdminString
           
 class SnmpTlsTmMib.SnmpTLSFingerprint
           
 class SnmpTlsTmMib.SnmpTlstmAddrEntryRow
           
 class SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow
           
 class SnmpTlsTmMib.SnmpTlstmParamsEntryRow
           
 
Field Summary
static int colSnmpTlstmAddrRowStatus
           
static int colSnmpTlstmAddrServerFingerprint
           
static int colSnmpTlstmAddrServerIdentity
           
static int colSnmpTlstmAddrStorageType
           
static int colSnmpTlstmCertToTSNData
           
static int colSnmpTlstmCertToTSNFingerprint
           
static int colSnmpTlstmCertToTSNMapType
           
static int colSnmpTlstmCertToTSNRowStatus
           
static int colSnmpTlstmCertToTSNStorageType
           
static int colSnmpTlstmParamsClientFingerprint
           
static int colSnmpTlstmParamsRowStatus
           
static int colSnmpTlstmParamsStorageType
           
static int idxSnmpTlstmAddrRowStatus
           
static int idxSnmpTlstmAddrServerFingerprint
           
static int idxSnmpTlstmAddrServerIdentity
           
static int idxSnmpTlstmAddrStorageType
           
static int idxSnmpTlstmCertToTSNData
           
static int idxSnmpTlstmCertToTSNFingerprint
           
static int idxSnmpTlstmCertToTSNMapType
           
static int idxSnmpTlstmCertToTSNRowStatus
           
static int idxSnmpTlstmCertToTSNStorageType
           
static int idxSnmpTlstmParamsClientFingerprint
           
static int idxSnmpTlstmParamsRowStatus
           
static int idxSnmpTlstmParamsStorageType
           
static org.snmp4j.smi.OID oidSnmpDTLSUDPDomain
           
static org.snmp4j.smi.OID oidSnmpTargetAddrName
           
static org.snmp4j.smi.OID oidSnmpTargetParamsName
           
static org.snmp4j.smi.OID oidSnmpTLSTCPDomain
           
static org.snmp4j.smi.OID oidSnmpTlstmAddrCount
           
static org.snmp4j.smi.OID oidSnmpTlstmAddrEntry
           
static org.snmp4j.smi.OID oidSnmpTlstmAddrTableLastChanged
           
static org.snmp4j.smi.OID oidSnmpTlstmCertCommonName
           
static org.snmp4j.smi.OID oidSnmpTlstmCertSANAny
           
static org.snmp4j.smi.OID oidSnmpTlstmCertSANDNSName
           
static org.snmp4j.smi.OID oidSnmpTlstmCertSANIpAddress
           
static org.snmp4j.smi.OID oidSnmpTlstmCertSANRFC822Name
           
static org.snmp4j.smi.OID oidSnmpTlstmCertSpecified
           
static org.snmp4j.smi.OID oidSnmpTlstmCertToTSNCount
           
static org.snmp4j.smi.OID oidSnmpTlstmCertToTSNEntry
           
static org.snmp4j.smi.OID oidSnmpTlstmCertToTSNID
           
static org.snmp4j.smi.OID oidSnmpTlstmCertToTSNTableLastChanged
           
static org.snmp4j.smi.OID oidSnmpTlsTmMib
          OID of this MIB module for usage which can be used for its identification.
static org.snmp4j.smi.OID oidSnmpTlstmParamsCount
           
static org.snmp4j.smi.OID oidSnmpTlstmParamsEntry
           
static org.snmp4j.smi.OID oidSnmpTlstmParamsTableLastChanged
           
static org.snmp4j.smi.OID oidSnmpTlstmServerCertificateUnknown
           
static org.snmp4j.smi.OID oidSnmpTlstmServerInvalidCertificate
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionAccepts
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionClientCloses
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionInvalidCaches
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionInvalidClientCertificates
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionInvalidServerCertificates
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionNoSessions
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionOpenErrors
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionOpens
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionServerCloses
           
static org.snmp4j.smi.OID oidSnmpTlstmSessionUnknownServerCertificate
           
static org.snmp4j.smi.OID oidTrapVarSnmpTlstmAddrServerFingerprint
           
static org.snmp4j.smi.OID oidTrapVarSnmpTlstmSessionInvalidServerCertificates
           
static org.snmp4j.smi.OID oidTrapVarSnmpTlstmSessionUnknownServerCertificate
           
static java.lang.String tcDefAutonomousType
           
static java.lang.String tcDefRowStatus
           
static java.lang.String tcDefSnmpAdminString
           
static java.lang.String tcDefSnmpTLSFingerprint
           
static java.lang.String tcDefStorageType
           
static java.lang.String tcModuleSnmpFrameworkMib
           
static java.lang.String tcModuleSnmpTlsTmMib
           
static java.lang.String tcModuleSNMPv2Tc
           
 
Constructor Summary
protected SnmpTlsTmMib()
          Constructs a SnmpTlsTmMib instance without actually creating its ManagedObject instances.
  SnmpTlsTmMib(MOFactory moFactory)
          Constructs a SnmpTlsTmMib instance and actually creates its ManagedObject instances using the supplied MOFactory (by calling createMO(MOFactory moFactory)).
 
Method Summary
 void addImportedTCsToFactory(MOFactory moFactory)
           
protected  void addTCsToFactory(MOFactory moFactory)
           
protected  void createMO(MOFactory moFactory)
          Create the ManagedObjects defined for this MIB module using the specified MOFactory.
 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 getSnmpTlstmAddrCount()
           
 MOTable getSnmpTlstmAddrEntry()
           
 MOScalar getSnmpTlstmAddrTableLastChanged()
           
 MOScalar getSnmpTlstmCertToTSNCount()
           
 MOTable getSnmpTlstmCertToTSNEntry()
           
 MOScalar getSnmpTlstmCertToTSNTableLastChanged()
           
 MOScalar getSnmpTlstmParamsCount()
           
 MOTable getSnmpTlstmParamsEntry()
           
 MOScalar getSnmpTlstmParamsTableLastChanged()
           
 MOScalar getSnmpTlstmSessionAccepts()
           
 MOScalar getSnmpTlstmSessionClientCloses()
           
 MOScalar getSnmpTlstmSessionInvalidCaches()
           
 MOScalar getSnmpTlstmSessionInvalidClientCertificates()
           
 MOScalar getSnmpTlstmSessionInvalidServerCertificates()
           
 MOScalar getSnmpTlstmSessionNoSessions()
           
 MOScalar getSnmpTlstmSessionOpenErrors()
           
 MOScalar getSnmpTlstmSessionOpens()
           
 MOScalar getSnmpTlstmSessionServerCloses()
           
 MOScalar 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 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 its ManagedObject instances. This has to be done in a sub-class constructor or after construction by calling createMO(MOFactory moFactory).


SnmpTlsTmMib

public SnmpTlsTmMib(MOFactory moFactory)
Constructs a SnmpTlsTmMib instance and actually creates its ManagedObject instances using the supplied MOFactory (by calling createMO(MOFactory moFactory)).

Parameters:
moFactory - the MOFactory to be used to create the managed objects for this module.
Method Detail

createMO

protected void createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module using the specified MOFactory.

Parameters:
moFactory - the MOFactory instance to use for object creation.

getSnmpTlstmSessionOpens

public MOScalar getSnmpTlstmSessionOpens()

getSnmpTlstmSessionClientCloses

public MOScalar getSnmpTlstmSessionClientCloses()

getSnmpTlstmSessionOpenErrors

public MOScalar getSnmpTlstmSessionOpenErrors()

getSnmpTlstmSessionAccepts

public MOScalar getSnmpTlstmSessionAccepts()

getSnmpTlstmSessionServerCloses

public MOScalar getSnmpTlstmSessionServerCloses()

getSnmpTlstmSessionNoSessions

public MOScalar getSnmpTlstmSessionNoSessions()

getSnmpTlstmSessionInvalidClientCertificates

public MOScalar getSnmpTlstmSessionInvalidClientCertificates()

getSnmpTlstmSessionUnknownServerCertificate

public MOScalar getSnmpTlstmSessionUnknownServerCertificate()

getSnmpTlstmSessionInvalidServerCertificates

public MOScalar getSnmpTlstmSessionInvalidServerCertificates()

getSnmpTlstmSessionInvalidCaches

public MOScalar getSnmpTlstmSessionInvalidCaches()

getSnmpTlstmCertToTSNCount

public MOScalar getSnmpTlstmCertToTSNCount()

getSnmpTlstmCertToTSNTableLastChanged

public MOScalar getSnmpTlstmCertToTSNTableLastChanged()

getSnmpTlstmParamsCount

public MOScalar getSnmpTlstmParamsCount()

getSnmpTlstmParamsTableLastChanged

public MOScalar getSnmpTlstmParamsTableLastChanged()

getSnmpTlstmAddrCount

public MOScalar getSnmpTlstmAddrCount()

getSnmpTlstmAddrTableLastChanged

public MOScalar getSnmpTlstmAddrTableLastChanged()

getSnmpTlstmCertToTSNEntry

public MOTable getSnmpTlstmCertToTSNEntry()

getSnmpTlstmParamsEntry

public MOTable getSnmpTlstmParamsEntry()

getSnmpTlstmAddrEntry

public MOTable 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 interface MOGroup
Parameters:
server - the MOServer where to register the managed objects.
context - the context to use (may be null 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 interface MOGroup
Parameters:
server - the MOServer where to unregister the managed objects.
context - the context to use (may be null 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)
Specified by:
isClientCertificateAccepted in interface org.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>

getSecurityName

public org.snmp4j.smi.OctetString getSecurityName(java.security.cert.X509Certificate[] peerCertificateChain)
Specified by:
getSecurityName in interface org.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>

isServerCertificateAccepted

public boolean isServerCertificateAccepted(java.security.cert.X509Certificate[] peerCertificateChain)
Specified by:
isServerCertificateAccepted in interface org.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>

isAcceptedIssuer

public boolean isAcceptedIssuer(java.security.cert.X509Certificate issuerCertificate)
Specified by:
isAcceptedIssuer in interface org.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>

getLocalCertificateAlias

public java.lang.String getLocalCertificateAlias(org.snmp4j.smi.Address targetAddress)
Specified by:
getLocalCertificateAlias in interface org.snmp4j.transport.tls.TlsTmSecurityCallback<java.security.cert.X509Certificate>

addTCsToFactory

protected void addTCsToFactory(MOFactory moFactory)

addImportedTCsToFactory

public void addImportedTCsToFactory(MOFactory moFactory)

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.