Uses of Class
java.security.cert.TrustAnchor
-
Packages that use TrustAnchor Package Description java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. -
-
Uses of TrustAnchor in java.security.cert
Methods in java.security.cert that return TrustAnchor Modifier and Type Method and Description TrustAnchor
PKIXCertPathValidatorResult. getTrustAnchor()
Returns theTrustAnchor
describing the CA that served as a trust anchor for the certification path.Methods in java.security.cert that return types with arguments of type TrustAnchor Modifier and Type Method and Description Set<TrustAnchor>
PKIXParameters. getTrustAnchors()
Returns an immutableSet
of the most-trusted CAs.Method parameters in java.security.cert with type arguments of type TrustAnchor Modifier and Type Method and Description void
PKIXParameters. setTrustAnchors(Set<TrustAnchor> trustAnchors)
Sets theSet
of most-trusted CAs.Constructors in java.security.cert with parameters of type TrustAnchor Constructor and Description PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
Creates an instance ofPKIXCertPathBuilderResult
containing the specified parameters.PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
Creates an instance ofPKIXCertPathValidatorResult
containing the specified parameters.Constructor parameters in java.security.cert with type arguments of type TrustAnchor Constructor and Description PKIXBuilderParameters(Set<TrustAnchor> trustAnchors, CertSelector targetConstraints)
Creates an instance ofPKIXBuilderParameters
with the specifiedSet
of most-trusted CAs.PKIXParameters(Set<TrustAnchor> trustAnchors)
Creates an instance ofPKIXParameters
with the specifiedSet
of 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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.