Class ServerCertificateException

All Implemented Interfaces:
Serializable

public class ServerCertificateException NEW extends CertificateException
ServerCertificateException is thrown when TLS/SSL server certificate validation fails during an attempted server connection.
See Also:
  • Constructor Details

    • ServerCertificateException

      public ServerCertificateException(X509Certificate[] serverCertChain, CertificateException cause)
      Constructor
      Parameters:
      serverCertChain - TLS peer certificate chain, with the server identity first
      cause - underlying validation cause
  • Method Details

    • getServerCertChain

      public X509Certificate[] getServerCertChain()
      Returns server certificate chain.
      Returns:
      server certificate chain