Uses of Interface java.security.cert.Extension (Java Platform SE 8 )
Date: 2018-07-01

## Uses of Interface
java.security.cert.Extension

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

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

    Methods in java.security.cert that return types with arguments of type Extension
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Extension>` | CertificateRevokedException.`getExtensions()` Returns a map of X.509 extensions containing additional information about the revoked certificate, such as the Invalidity Date Extension.
    `List<Extension>` | PKIXRevocationChecker.`getOcspExtensions()` Gets the optional OCSP request extensions.

    Method parameters in java.security.cert with type arguments of type Extension
    Modifier and Type | Method and Description
    --- | ---
    `void` | PKIXRevocationChecker.`setOcspExtensions(List<Extension> extensions)` Sets the optional OCSP request extensions.

    Constructor parameters in java.security.cert with type arguments of type Extension
    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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.