src/share/classes/java/security/cert/X509CRLEntry.java
Print this page
*** 66,77 ****
public abstract class X509CRLEntry implements X509Extension {
/**
* Compares this CRL entry for equality with the given
! * object. If the <code>other</code> object is an
! * <code>instanceof</code> <code>X509CRLEntry</code>, then
* its encoded form (the inner SEQUENCE) is retrieved and compared
* with the encoded form of this CRL entry.
*
* @param other the object to test for equality with this CRL entry.
* @return true iff the encoded forms of the two CRL entries
--- 66,77 ----
public abstract class X509CRLEntry implements X509Extension {
/**
* Compares this CRL entry for equality with the given
! * object. If the {@code other} object is an
! * {@code instanceof} {@code X509CRLEntry}, then
* its encoded form (the inner SEQUENCE) is retrieved and compared
* with the encoded form of this CRL entry.
*
* @param other the object to test for equality with this CRL entry.
* @return true iff the encoded forms of the two CRL entries
*** 176,186 ****
/**
* 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()) {
--- 176,186 ----
/**
* 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()) {