Class SelfSignedCertificateException

    • Constructor Detail

      • SelfSignedCertificateException

        public SelfSignedCertificateException​(String message,
                                              Throwable cause,
                                              X509Certificate cert)
        Creates a SelfSignedCertificateException with the specified message, original CertificateException, and the certificate that caused it.
        Parameters:
        message - the exception message
        cause - the original CertificateException that was thrown
        cert - the certificate that caused it
    • Method Detail

      • getCertificate

        public X509Certificate getCertificate()
        Gets the self signed certificate that caused the exception in the first place.
        Returns:
        the self signed certificate