Class RevokedStatus

    • Constructor Detail

      • RevokedStatus

        public RevokedStatus​(org.bouncycastle.asn1.ocsp.RevokedInfo info)
      • RevokedStatus

        public RevokedStatus​(java.util.Date revocationDate,
                             int reason)
    • Method Detail

      • getRevocationTime

        public java.util.Date getRevocationTime()
      • hasRevocationReason

        public boolean hasRevocationReason()
      • getRevocationReason

        public int getRevocationReason()
        return the revocation reason. Note: this field is optional, test for it with hasRevocationReason() first.
        Returns:
        the revocation reason value.
        Throws:
        java.lang.IllegalStateException - if a reason is asked for and none is avaliable