Class OpendsCertificateException

  • All Implemented Interfaces:
    Serializable

    public class OpendsCertificateException
    extends CertificateException
    When a remote client (dsconfig for instance) wants to establish a remote connection with opends server through a secure connection, and if the certificate is not known, the SSL handcheck fails and this exception is thrown. This allows to get the certificate chain which is unknown.
    See Also:
    Serialized Form
    • Constructor Detail

      • OpendsCertificateException

        public OpendsCertificateException​(X509Certificate[] chain)
        Build a new OpendsCertificationException object.
        Parameters:
        chain - the certificate chain which is unknown and has caused the SSL handcheck failure.
      • OpendsCertificateException

        public OpendsCertificateException​(String msg,
                                          X509Certificate[] chain)
        Build a new OpendsCertificationException object.
        Parameters:
        msg - the detail message string of this exception.
        chain - the certificate chain which is unknown and has caused the SSL handcheck failure.
      • OpendsCertificateException

        public OpendsCertificateException​(X509Certificate[] chain,
                                          CertificateException cause)
        Build a new OpendsCertificationException object.
        Parameters:
        chain - the certificate chain which is unknown and has caused the SSL handcheck failure.
        cause - the cause
    • Method Detail

      • getChain

        public X509Certificate[] getChain()
        Return the certificate chain which is unknown and has caused the SSL handcheck failure.
        Returns:
        the certificate chain which is unknown and has caused the SSL handcheck failure.