-
- All Superinterfaces:
TlsTransportMappingConfig<java.security.cert.X509Certificate>
public interface X509TlsTransportMappingConfig extends TlsTransportMappingConfig<java.security.cert.X509Certificate>
TheTlsTransportMappingConfiginterface provides means to plug in aTlsTmSecurityCallbackinto aTransportMappingthat usesX509Certificates for TLS.- Since:
- 3.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.cert.PKIXRevocationCheckergetPKIXRevocationChecker()Gets the (optional and possiblynull) revocation checker for the cert path validation of X509 certificates.java.lang.StringgetX509CertificateRevocationListURI()Gets the X509 certificate revocation list (CRL) URI, if defined.voidsetPKIXRevocationChecker(java.security.cert.PKIXRevocationChecker pkixRevocationChecker)Sets the (optional and possiblynull) revocation checker for the cert path validation of X509 certificates.voidsetX09CertificateRevocationListURI(java.lang.String crlURI)Sets the X509 certificate revocation list (CRL) URI, to enable CRL checking.-
Methods inherited from interface org.snmp4j.transport.tls.TlsTransportMappingConfig
getKeyStore, getKeyStorePassword, getLocalCertificateAlias, getProtocolVersionPropertyName, getProtocolVersions, getSecurityCallback, getTrustStore, getTrustStorePassword, setKeyStore, setKeyStorePassword, setLocalCertificateAlias, setProtocolVersions, setSecurityCallback, setTrustStore, setTrustStorePassword
-
-
-
-
Method Detail
-
getPKIXRevocationChecker
java.security.cert.PKIXRevocationChecker getPKIXRevocationChecker()
Gets the (optional and possiblynull) revocation checker for the cert path validation of X509 certificates.- Returns:
nullto disable cert path validation with CLR checking or a properly configured cert path checker instance.- Since:
- 3.6
-
setPKIXRevocationChecker
void setPKIXRevocationChecker(java.security.cert.PKIXRevocationChecker pkixRevocationChecker)
Sets the (optional and possiblynull) revocation checker for the cert path validation of X509 certificates.- Parameters:
pkixRevocationChecker-nullto disable cert path validation with CLR checking or a properly configured cert path checker instance.- Since:
- 3.6
-
getX509CertificateRevocationListURI
java.lang.String getX509CertificateRevocationListURI()
Gets the X509 certificate revocation list (CRL) URI, if defined.- Returns:
nullif there is no CRL available/necessary or a URI string that points to a CRL file.- Since:
- 3.6.0
-
setX09CertificateRevocationListURI
void setX09CertificateRevocationListURI(java.lang.String crlURI)
Sets the X509 certificate revocation list (CRL) URI, to enable CRL checking.- Parameters:
crlURI-nullif there is no CRL available/necessary or a URI string that points to a CRL file.- Since:
- 3.6.0
-
-