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

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

- - ### Uses of CertPath in java.security

    Methods in java.security that return CertPath
    Modifier and Type | Method and Description
    --- | ---
    `CertPath` | Timestamp.`getSignerCertPath()` Returns the certificate path for the Timestamping Authority.
    `CertPath` | CodeSigner.`getSignerCertPath()` Returns the signer's certificate path.

    Constructors in java.security with parameters of type CertPath
    Constructor and Description
    `CodeSigner(CertPath signerCertPath, Timestamp timestamp)` Constructs a CodeSigner object.
    `Timestamp(Date timestamp, CertPath signerCertPath)` Constructs a Timestamp.

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

    Methods in java.security.cert that return CertPath
    Modifier and Type | Method and Description
    --- | ---
    `CertPath` | CertificateFactorySpi.`engineGenerateCertPath(InputStream inStream)` Generates a `CertPath` object and initializes it with the data read from the `InputStream` inStream.
    `CertPath` | CertificateFactorySpi.`engineGenerateCertPath(InputStream inStream, String encoding)` Generates a `CertPath` object and initializes it with the data read from the `InputStream` inStream.
    `CertPath` | CertificateFactorySpi.`engineGenerateCertPath(List<? extends Certificate> certificates)` Generates a `CertPath` object and initializes it with a `List` of `Certificate`s.
    `CertPath` | CertificateFactory.`generateCertPath(InputStream inStream)` Generates a `CertPath` object and initializes it with the data read from the `InputStream` inStream.
    `CertPath` | CertificateFactory.`generateCertPath(InputStream inStream, String encoding)` Generates a `CertPath` object and initializes it with the data read from the `InputStream` inStream.
    `CertPath` | CertificateFactory.`generateCertPath(List<? extends Certificate> certificates)` Generates a `CertPath` object and initializes it with a `List` of `Certificate`s.
    `CertPath` | CertPathValidatorException.`getCertPath()` Returns the certification path that was being validated when the exception was thrown.
    `CertPath` | PKIXCertPathBuilderResult.`getCertPath()` Returns the built and validated certification path.
    `CertPath` | CertPathBuilderResult.`getCertPath()` Returns the built certification path.

    Methods in java.security.cert with parameters of type CertPath
    Modifier and Type | Method and Description
    --- | ---
    `abstract CertPathValidatorResult` | CertPathValidatorSpi.`engineValidate(CertPath certPath, CertPathParameters params)` Validates the specified certification path using the specified algorithm parameter set.
    `CertPathValidatorResult` | CertPathValidator.`validate(CertPath certPath, CertPathParameters params)` Validates the specified certification path using the specified algorithm parameter set.

    Constructors in java.security.cert with parameters of type CertPath
    Constructor and Description
    `CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)` Creates a `CertPathValidatorException` with the specified detail message, cause, certification path, and index.
    `CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, CertPathValidatorException.Reason reason)` Creates a `CertPathValidatorException` with the specified detail message, cause, certification path, index, and reason.
    `PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)` Creates an instance of `PKIXCertPathBuilderResult` containing the specified parameters.

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.