| 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 | 
|---|---|
| TrustAnchor | PKIXCertPathValidatorResult. getTrustAnchor()Returns the  TrustAnchordescribing the CA that served
 as a trust anchor for the certification path. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<TrustAnchor> | PKIXParameters. getTrustAnchors()Returns an immutable  Setof the most-trusted
 CAs. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PKIXParameters. setTrustAnchors(Set<TrustAnchor> trustAnchors)Sets the  Setof most-trusted CAs. | 
| Constructor and Description | 
|---|
| PKIXCertPathBuilderResult(CertPath certPath,
                         TrustAnchor trustAnchor,
                         PolicyNode policyTree,
                         PublicKey subjectPublicKey)Creates an instance of  PKIXCertPathBuilderResultcontaining the specified parameters. | 
| PKIXCertPathValidatorResult(TrustAnchor trustAnchor,
                           PolicyNode policyTree,
                           PublicKey subjectPublicKey)Creates an instance of  PKIXCertPathValidatorResultcontaining the specified parameters. | 
| Constructor and Description | 
|---|
| PKIXBuilderParameters(Set<TrustAnchor> trustAnchors,
                     CertSelector targetConstraints)Creates an instance of  PKIXBuilderParameterswith
 the specifiedSetof most-trusted CAs. | 
| PKIXParameters(Set<TrustAnchor> trustAnchors)Creates an instance of  PKIXParameterswith the specifiedSetof most-trusted CAs. | 
 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, 2016, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.