Package org.snmp4j.transport.tls
package org.snmp4j.transport.tls
- 
ClassDescriptionThe
DefaultTlsTmSecurityCallbackresolves thetmSecurityNamefor 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.ThePropertiesTlsTmSecurityCallbackresolves thetmSecurityNamefor incoming requests by using the (system) propertiesorg.snmp4j.arg.securityNameorg.snmp4j.arg.tlsLocalIDorg.snmp4j.arg.tlsTrustCAorg.snmp4j.arg.tlsPeerIDTheSecurityNameMappingmaps a X509 certificate identified by its fingerprint to a security name based on a mapping defined bySecurityNameMapping.CertMappingType.TLSTM trust manager that implements the X509ExtendedTrustManager interface.X509ExtendedTrustManager factory for TLSTM.TlsTmSecurityCallback<C extends Certificate>TheTlsTmSecurityCallbackis implemented by the SnmpTlsMib (of SNMP4J-Agent), for example, to resolve (lookup) thetmSecurityNamefor incoming requests.TlsTmSecurityCallbackProxy<C extends Certificate>TheTlsTmSecurityCallbackProxyclass implements aTlsTmSecurityCallbackby using an internal reference to anotherTlsTmSecurityCallbackinstance.TheTLSTMUtilclass implements common functions forTLSTM.TlsTransportMappingConfig<C extends Certificate>TheTlsTransportMappingConfiginterface provides means to plug in aTlsTmSecurityCallbackinto theTransportMappingimplementation and to control other TLS specific settings.TheTlsTrustManagerverifies the trust for clients and servers connected based on the certificates, and fingerprints provided.TheTlsCertifiedTargetextends theCertifiedTargetclass by means to provide aTlsTmSecurityCallbackreference directly with the target as needed according to RFC 6353 ยง5.3.1 when establishing a connection based on the SNMP-TARGET-MIB as client.TheTlsTransportMappingConfiginterface provides means to plug in aTlsTmSecurityCallbackinto aTransportMappingthat usesX509Certificates for TLS.