Uses of Interface
org.snmp4j.transport.tls.TlsTmSecurityCallback
Package
Description
Provides transport protocol mappings for SNMP.
-
Uses of TlsTmSecurityCallback in org.snmp4j.fluent
Modifier and TypeMethodDescriptionSnmpBuilder.dtls
(TlsTmSecurityCallback<X509Certificate> securityCallback, String[] dtlsProtocolVersions, DtlsAddress... listenAddresses) SnmpBuilder.dtls
(TlsTmSecurityCallback<X509Certificate> securityCallback, DtlsAddress... listenAddresses) TargetBuilder.TlsTargetBuilder.securityCallback
(TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback) SnmpBuilder.tls
(TlsTmSecurityCallback<X509Certificate> securityCallback, String[] tlsProtocolVersions, TlsAddress... listenAddresses) SnmpBuilder.tls
(TlsTmSecurityCallback<X509Certificate> securityCallback, TlsAddress... listenAddresses) -
Uses of TlsTmSecurityCallback in org.snmp4j.transport
Modifier and TypeMethodDescriptionvoid
DTLSTM.setSecurityCallback
(TlsTmSecurityCallback<X509Certificate> securityCallback) void
TLSTM.setSecurityCallback
(TlsTmSecurityCallback<X509Certificate> securityCallback) ModifierConstructorDescriptionDTLSTM
(TlsTmSecurityCallback<X509Certificate> securityCallback, DtlsAddress serverAddress) Creates a DTLS transport mapping that binds to the given address (interface) on the local host.DTLSTM
(TlsTmSecurityCallback<X509Certificate> securityCallback, DtlsAddress serverAddress, CounterSupport counterSupport) Creates a TLS transport mapping that binds to the given address (interface) on the local host and runs as a server.DTLSTM
(TlsTmSecurityCallback<X509Certificate> securityCallback, DtlsAddress serverAddress, CounterSupport counterSupport, boolean serverEnabled) Creates a TLS transport mapping that binds to the given address (interface) on the local host.TLSTM
(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.TLSTM
(TlsTmSecurityCallback<X509Certificate> securityCallback, TlsAddress serverAddress, CounterSupport counterSupport, boolean serverEnabled) 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()
Deprecated.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, TLSTMTrustManagerFactory trustManagerFactory, boolean useClientMode, TlsTmSecurityCallback<X509Certificate> securityCallback, String localCertificateAlias, PKIXRevocationChecker pkixRevocationChecker, String crlURI) static X509Certificate[]
TLSTMExtendedTrustManager.getAcceptedIssuers
(X509TrustManager trustManager, TlsTmSecurityCallback<X509Certificate> securityCallback) Gets the acceptedX509Certificate
s from the givenX509TrustManager
and security callback.static X509Certificate[]
TlsTrustManager.getAcceptedIssuers
(X509TrustManager trustManager, TlsTmSecurityCallback<X509Certificate> securityCallback) Deprecated.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 tlstmCounterSupport, TlsTmSecurityCallback<X509Certificate> securityCallback) TlsTrustManager
(X509TrustManager trustManager, boolean useClientMode, TransportStateReference tmStateReference, CounterSupport tlstmCounters, TlsTmSecurityCallback<X509Certificate> securityCallback) Deprecated.Creates a newTlsTrustManager
.TlsX509CertifiedTarget
(A address, OctetString identity, OctetString serverFingerprint, OctetString clientFingerprint, TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback)