| Package | Description | 
|---|---|
| java.security.cert | Provides classes and interfaces for parsing and managing
 certificates, certificate revocation lists (CRLs), and
 certification paths. | 
| Modifier and Type | Method and Description | 
|---|---|
| CRLReason | CertificateRevokedException. getRevocationReason()Returns the reason the certificate was revoked. | 
| CRLReason | X509CRLEntry. getRevocationReason()Returns the reason the certificate has been revoked, as specified
 in the Reason Code extension of this CRL entry. | 
| static CRLReason | CRLReason. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CRLReason[] | CRLReason. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Constructor and Description | 
|---|
| CertificateRevokedException(Date revocationDate,
                           CRLReason reason,
                           X500Principal authority,
                           Map<String,Extension> extensions)Constructs a  CertificateRevokedExceptionwith
 the specified revocation date, reason code, authority name, and map
 of extensions. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.