Package | Description |
---|---|
org.snmp4j.transport |
Provides transport protocol mappings for SNMP.
|
org.snmp4j.transport.tls |
Modifier and Type | Method and Description |
---|---|
TlsTmSecurityCallback<X509Certificate> |
TLSTM.getSecurityCallback() |
Modifier and Type | Method and Description |
---|---|
void |
TLSTM.setSecurityCallback(TlsTmSecurityCallback<X509Certificate> securityCallback) |
Constructor and Description |
---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTlsTmSecurityCallback
The
DefaultTlsTmSecurityCallback resolves the
tmSecurityName 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 |
PropertiesTlsTmSecurityCallback
The
PropertiesTlsTmSecurityCallback resolves the
tmSecurityName for incoming requests by using the
(system) properties
org.snmp4j.arg.securityName
org.snmp4j.arg.tlsLocalID
org.snmp4j.arg.tlsTrustCA
org.snmp4j.arg.tlsPeerID |
class |
TlsTmSecurityCallbackProxy<C extends Certificate>
The
TlsTmSecurityCallbackProxy class implements a TlsTmSecurityCallback by using an
internal reference to another TlsTmSecurityCallback instance. |
Modifier and Type | Method and Description |
---|---|
TlsTmSecurityCallback<C> |
TlsTransportMappingConfig.getSecurityCallback()
Gets the
TlsTmSecurityCallback associated with this TransportMapping hook which is
called by the transport mapping to lookup TLS security parameters from external configuration. |
protected TlsTmSecurityCallback<X509Certificate> |
TlsTrustManager.getSecurityCallback() |
TlsTmSecurityCallback<C> |
TlsTmSecurityCallbackProxy.getTlsTmSecurityCallback() |
TlsTmSecurityCallback<X509Certificate> |
TlsX509CertifiedTarget.getTlsTmSecurityCallback()
Gets the
TlsTmSecurityCallback information needed to validate a client-server connection. |
Modifier and Type | Method and Description |
---|---|
static 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 accepted
X509Certificate s from the given X509TrustManager and security callback. |
void |
TlsTransportMappingConfig.setSecurityCallback(TlsTmSecurityCallback<C> securityCallback)
Sets the
TlsTmSecurityCallback associated with this TransportMapping hook. |
void |
TlsTmSecurityCallbackProxy.setTlsTmSecurityCallback(TlsTmSecurityCallback<C> tlsTmSecurityCallback)
Sets the security callback to be used when this proxy is being called.
|
Constructor and Description |
---|
TLSTMExtendedTrustManager(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 new
TlsTrustManager . |
TlsX509CertifiedTarget(Address address,
OctetString identity,
OctetString serverFingerprint,
OctetString clientFingerprint,
TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback) |
Copyright © 2021 SNMP4J.org. All rights reserved.