Class CertificateRevokedException

    • Constructor Detail

      • CertificateRevokedException

        public CertificateRevokedException​(Date revocationDate,
                                           CRLReason reason,
                                           X500Principal authority,
                                           Map<String,​Extension> extensions)
        Parameters:
        revocationDate - date the certificate was revoked
        reason - reason the certificate was revoked if available
        authority - authority that revoked the certificate
        extensions - X.509 extensions associated with this revocation
    • Method Detail

      • getAuthorityName

        public X500Principal getAuthorityName()
        Returns the principal of the authority that issued the revocation.
      • getExtensions

        public Map<String,​Extension> getExtensions()
        X.509 extensions that are associated with this revocation.
      • getInvalidityDate

        public Date getInvalidityDate()
        Returns the date when the certificate was known to become invalid if available.
      • getMessage

        public String getMessage()
        Returns the detail message of the thrown exception.
        Overrides:
        getMessage in class Throwable
      • getRevocationDate

        public Date getRevocationDate()
        Returns the date the certificate was revoked.
      • getRevocationReason

        public CRLReason getRevocationReason()
        Returns the reason the certificate was revoked if available.