public class TlsX509CertifiedTarget extends CertifiedTarget
TlsCertifiedTarget
extends the CertifiedTarget
class by means to provide
a TlsTmSecurityCallback
reference 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. If the provided TlsTmSecurityCallback
is null
this class behaves identical to its superclass CertifiedTarget
.securityLevel, securityModel, securityName
Constructor and Description |
---|
TlsX509CertifiedTarget(Address address,
OctetString identity,
OctetString serverFingerprint,
OctetString clientFingerprint,
TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback) |
Modifier and Type | Method and Description |
---|---|
Target |
duplicate()
Creates a new copy of this target with the same address type.
|
TlsTmSecurityCallback<X509Certificate> |
getTlsTmSecurityCallback()
Gets the
TlsTmSecurityCallback information needed to validate a client-server connection. |
getClientFingerprint, getIdentity, getServerFingerprint, toString
clone, equals, getAddress, getMaxSizeRequestPDU, getPreferredTransports, getRetries, getSecurityLevel, getSecurityModel, getSecurityName, getTimeout, getVersion, hashCode, setAddress, setMaxSizeRequestPDU, setPreferredTransports, setRetries, setSecurityLevel, setSecurityModel, setSecurityName, setTimeout, setVersion, toStringAbstractTarget
public TlsX509CertifiedTarget(Address address, OctetString identity, OctetString serverFingerprint, OctetString clientFingerprint, TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback)
public TlsTmSecurityCallback<X509Certificate> getTlsTmSecurityCallback()
TlsTmSecurityCallback
information needed to validate a client-server connection.TlsTmSecurityCallback
instance or null
if such information is not provided then
the transport mapping has to block (drop) the connection creation.Copyright © 2019 SNMP4J.org. All rights reserved.