/** * Returns the reason the certificate has been revoked, as specified * in the Reason Code extension of this CRL entry. * * @return the reason the certificate has been revoked, or * {@code null} if this CRL entry does not have * a Reason Code extension * @since 1.7 */ public CRLReason getRevocationReason() { if (!hasExtensions()) { return null; } return X509CRLEntryImpl.getRevocationReason(this); }
/** * Returns the reason the certificate has been revoked, as specified * in the Reason Code extension of this CRL entry. * * @return the reason the certificate has been revoked, or * <code>null</code> if this CRL entry does not have * a Reason Code extension * @since 1.7 */ public CRLReason getRevocationReason() { if (!hasExtensions()) { return null; } return X509CRLEntryImpl.getRevocationReason(this); }