Interface CertificateVerifier


public interface CertificateVerifier
An application can customize the certificate verification process by implementing the CertificateVerifier interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines whether a connection should be accepted or rejected.
  • Method Details

    • verify

      boolean verify(ConnectionInfo info)
      Determines whether a connection should be accepted or rejected.
      Parameters:
      info - The details of the connection.
      Returns:
      true if the connection should be accepted; false, otherwise.