Uses of Interface
org.snmp4j.transport.tls.TlsTmSecurityCallback
Package
Description
Provides transport protocol mappings for SNMP.
-
Uses of TlsTmSecurityCallback in org.snmp4j.transport
Modifier and TypeMethodDescriptionvoid
TLSTM.setSecurityCallback
(TlsTmSecurityCallback<X509Certificate> securityCallback) ModifierConstructorDescriptionTLSTM
(TlsTmSecurityCallback<X509Certificate> securityCallback, TlsAddress serverAddress) Creates a TLS transport mapping that binds to the given address (interface) on the local host.TLSTM
(TlsTmSecurityCallback<X509Certificate> securityCallback, TlsAddress serverAddress, CounterSupport counterSupport) Creates a TLS transport mapping that binds to the given address (interface) on the local host. -
Uses of TlsTmSecurityCallback in org.snmp4j.transport.tls
Modifier and TypeClassDescriptionclass
TheDefaultTlsTmSecurityCallback
resolves thetmSecurityName
for incoming requests through a mapping table based on the peer certificates, resolves the local certificate alias through a mapping table based on the target address and accepts peer certificates based on a list of trusted peer and issuer certificates.class
ThePropertiesTlsTmSecurityCallback
resolves thetmSecurityName
for incoming requests by using the (system) propertiesorg.snmp4j.arg.securityName
org.snmp4j.arg.tlsLocalID
org.snmp4j.arg.tlsTrustCA
org.snmp4j.arg.tlsPeerID
class
TlsTmSecurityCallbackProxy<C extends Certificate>
TheTlsTmSecurityCallbackProxy
class implements aTlsTmSecurityCallback
by using an internal reference to anotherTlsTmSecurityCallback
instance.Modifier and TypeMethodDescriptionTlsTransportMappingConfig.getSecurityCallback()
Gets theTlsTmSecurityCallback
associated with thisTransportMapping
hook which is called by the transport mapping to lookup TLS security parameters from external configuration.protected TlsTmSecurityCallback<X509Certificate>
TlsTrustManager.getSecurityCallback()
TlsTmSecurityCallbackProxy.getTlsTmSecurityCallback()
TlsX509CertifiedTarget.getTlsTmSecurityCallback()
Gets theTlsTmSecurityCallback
information needed to validate a client-server connection.Modifier and TypeMethodDescriptionstatic SSLContext
TLSTMUtil.createSSLContext
(String protocol, String keyStore, String keyStorePassword, String trustStore, String trustStorePassword, TransportStateReference transportStateReference, TLSTM.TLSTMTrustManagerFactory trustManagerFactory, boolean useClientMode, TlsTmSecurityCallback<X509Certificate> securityCallback, String localCertificateAlias) static X509Certificate[]
TlsTrustManager.getAcceptedIssuers
(X509TrustManager trustManager, TlsTmSecurityCallback<X509Certificate> securityCallback) Gets the acceptedX509Certificate
s from the givenX509TrustManager
and security callback.void
TlsTransportMappingConfig.setSecurityCallback
(TlsTmSecurityCallback<C> securityCallback) Sets theTlsTmSecurityCallback
associated with thisTransportMapping
hook.void
TlsTmSecurityCallbackProxy.setTlsTmSecurityCallback
(TlsTmSecurityCallback<C> tlsTmSecurityCallback) Sets the security callback to be used when this proxy is being called.ModifierConstructorDescriptionTLSTMExtendedTrustManager
(CounterSupport tlstmCounters, TlsTmSecurityCallback<X509Certificate> securityCallback, X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference) TLSTMExtendedTrustManagerFactory
(CounterSupport counterSupport, TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback) TlsTrustManager
(X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference, CounterSupport tlstmCounters, TlsTmSecurityCallback<X509Certificate> securityCallback) Creates a newTlsTrustManager
.TlsX509CertifiedTarget
(Address address, OctetString identity, OctetString serverFingerprint, OctetString clientFingerprint, TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback)