Class SelfSignedCertificateException

    • Constructor Summary

      Constructors 
      Constructor Description
      SelfSignedCertificateException​(java.lang.String message, java.lang.Throwable cause, java.security.cert.X509Certificate cert)
      Creates a SelfSignedCertificateException with the specified message, original CertificateException, and the certificate that caused it.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.security.cert.X509Certificate getCertificate()
      Gets the self signed certificate that caused the exception in the first place.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SelfSignedCertificateException

        public SelfSignedCertificateException​(java.lang.String message,
                                              java.lang.Throwable cause,
                                              java.security.cert.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 java.security.cert.X509Certificate getCertificate()
        Gets the self signed certificate that caused the exception in the first place.
        Returns:
        the self signed certificate