Module org.snmp4j

Interface X509TlsTransportMappingConfig

All Superinterfaces:
TlsTransportMappingConfig<X509Certificate>
All Known Implementing Classes:
DTLSTM, TLSTM

public interface X509TlsTransportMappingConfig extends TlsTransportMappingConfig<X509Certificate>
The TlsTransportMappingConfig interface provides means to plug in a TlsTmSecurityCallback into a TransportMapping that uses X509Certificates for TLS.
Since:
3.6
Author:
Frank Fock
  • Method Details

    • getPKIXRevocationChecker

      PKIXRevocationChecker getPKIXRevocationChecker()
      Gets the (optional and possibly null) revocation checker for the cert path validation of X509 certificates.
      Returns:
      null to disable cert path validation with CLR checking or a properly configured cert path checker instance.
      Since:
      3.6
    • setPKIXRevocationChecker

      void setPKIXRevocationChecker(PKIXRevocationChecker pkixRevocationChecker)
      Sets the (optional and possibly null) revocation checker for the cert path validation of X509 certificates.
      Parameters:
      pkixRevocationChecker - null to disable cert path validation with CLR checking or a properly configured cert path checker instance.
      Since:
      3.6
    • getX509CertificateRevocationListURI

      String getX509CertificateRevocationListURI()
      Gets the X509 certificate revocation list (CRL) URI, if defined.
      Returns:
      null if there is no CRL available/necessary or a URI string that points to a CRL file.
      Since:
      3.6.0
    • setX09CertificateRevocationListURI

      void setX09CertificateRevocationListURI(String crlURI)
      Sets the X509 certificate revocation list (CRL) URI, to enable CRL checking.
      Parameters:
      crlURI - null if there is no CRL available/necessary or a URI string that points to a CRL file.
      Since:
      3.6.0