Package | Description |
---|---|
org.snmp4j.transport |
Provides transport protocol mappings for SNMP.
|
org.snmp4j.transport.tls |
Modifier and Type | Method | Description |
---|---|---|
TlsTmSecurityCallback<java.security.cert.X509Certificate> |
DTLSTM.getSecurityCallback() |
|
TlsTmSecurityCallback<java.security.cert.X509Certificate> |
TLSTM.getSecurityCallback() |
Modifier and Type | Method | Description |
---|---|---|
void |
DTLSTM.setSecurityCallback(TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback) |
|
void |
TLSTM.setSecurityCallback(TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback) |
Constructor | Description |
---|---|
DTLSTM(TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback,
UdpAddress serverAddress) |
Creates a DTLS transport mapping that binds to the given address
(interface) on the local host.
|
DTLSTM(TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback,
UdpAddress serverAddress,
CounterSupport counterSupport) |
Creates a TLS transport mapping that binds to the given address
(interface) on the local host.
|
TLSTM(TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback,
TlsAddress serverAddress) |
Creates a TLS transport mapping that binds to the given address
(interface) on the local host.
|
TLSTM(TlsTmSecurityCallback<java.security.cert.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 | 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 |
Modifier and Type | Method | 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. |
Modifier and Type | Method | Description |
---|---|---|
static javax.net.ssl.SSLContext |
TLSTMUtil.createSSLContext(java.lang.String protocol,
java.lang.String keyStore,
java.lang.String keyStorePassword,
java.lang.String trustStore,
java.lang.String trustStorePassword,
TransportStateReference transportStateReference,
TLSTMTrustManagerFactory trustManagerFactory,
boolean useClientMode,
TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback,
java.lang.String localCertificateAlias) |
|
static void |
TLSTMUtil.filterCertificates(java.security.KeyStore ks,
TransportStateReference transportStateReference,
TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback,
java.lang.String localCertificateAlias) |
|
void |
TlsTransportMappingConfig.setSecurityCallback(TlsTmSecurityCallback<C> securityCallback) |
Sets the
TlsTmSecurityCallback associated with this TransportMapping hook. |
Constructor | Description |
---|---|
TLSTMExtendedTrustManager(CounterSupport tlstmCounters,
TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback,
javax.net.ssl.X509TrustManager trustManager,
boolean useClientMode,
TransportStateReference tmStateReference) |
|
TLSTMExtendedTrustManagerFactory(CounterSupport tlstmCounterSupport,
TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback) |
|
TlsTrustManager(javax.net.ssl.X509TrustManager trustManager,
boolean useClientMode,
TransportStateReference tmStateReference,
CounterSupport tlstmCounters,
TlsTmSecurityCallback<java.security.cert.X509Certificate> securityCallback) |
Copyright © 2018 SNMP4J.org. All rights reserved.