## Uses of Class
java.security.cert.CRLReason

- Packages that use CRLReason
  Package | Description
  --- | ---
  java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.

- - ### Uses of CRLReason in java.security.cert

    Methods in java.security.cert that return CRLReason
    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.

    Constructors in java.security.cert with parameters of type CRLReason
    Constructor and Description
    `CertificateRevokedException(Date revocationDate, CRLReason reason, X500Principal authority, Map<String,Extension> extensions)` Constructs a `CertificateRevokedException` with 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, 2015, Oracle and/or its affiliates. All rights reserved.