CertPathBuilderResult
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
A specification of the result of a certification path builder algorithm.
All results returned by the CertPathBuilder.build
method must implement this interface.
At a minimum, a CertPathBuilderResult
contains the
CertPath
built by the CertPathBuilder
instance.
Implementations of this interface may add methods to return implementation
or algorithm specific information, such as debugging information or
certification path validation results.
Concurrent Access
Unless otherwise specified, the methods defined in this interface are not
thread-safe. Multiple threads that need to access a single
object concurrently should synchronize amongst themselves and
provide the necessary locking. Multiple threads each manipulating
separate objects need not synchronize.
Public Methods
public
abstract
Object
clone
()
Makes a copy of this CertPathBuilderResult
. Changes to the
copy will not affect the original and vice versa.
Returns
- a copy of this
CertPathBuilderResult
public
abstract
CertPath
getCertPath
()
Returns the built certification path.
Returns
- the certification path (never
null
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003eCertPathBuilderResult\u003c/code\u003e specifies the outcome of a certification path building process, implemented by all results from \u003ccode\u003eCertPathBuilder.build\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt minimally includes the built \u003ccode\u003eCertPath\u003c/code\u003e, and may contain extra debugging or validation data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eclone()\u003c/code\u003e method creates an independent copy of the result, and \u003ccode\u003egetCertPath()\u003c/code\u003e returns the built certification path.\u003c/p\u003e\n"],["\u003cp\u003eUnless stated otherwise, methods are not thread-safe and require synchronization for concurrent access by multiple threads.\u003c/p\u003e\n"]]],[],null,["public interface **CertPathBuilderResult** implements [Cloneable](../../../../reference/java/lang/Cloneable.html) \n\n|---|---|---|\n| Known Indirect Subclasses [PKIXCertPathBuilderResult](../../../../reference/java/security/cert/PKIXCertPathBuilderResult.html) |------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------| | [PKIXCertPathBuilderResult](../../../../reference/java/security/cert/PKIXCertPathBuilderResult.html) | This class represents the successful result of the PKIX certification path builder algorithm. | |||\n\nA specification of the result of a certification path builder algorithm.\nAll results returned by the [CertPathBuilder.build](../../../../reference/java/security/cert/CertPathBuilder.html#build(java.security.cert.CertPathParameters)) method must implement this interface.\n\n\nAt a minimum, a `CertPathBuilderResult` contains the\n`CertPath` built by the `CertPathBuilder` instance.\nImplementations of this interface may add methods to return implementation\nor algorithm specific information, such as debugging information or\ncertification path validation results.\n\n\n**Concurrent Access**\n\n\nUnless otherwise specified, the methods defined in this interface are not\nthread-safe. Multiple threads that need to access a single\nobject concurrently should synchronize amongst themselves and\nprovide the necessary locking. Multiple threads each manipulating\nseparate objects need not synchronize. \n\nSee Also\n\n- [CertPathBuilder](../../../../reference/java/security/cert/CertPathBuilder.html) \n\nPublic Method Summary\n\n|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Object](../../../../reference/java/lang/Object.html) | [clone](../../../../reference/java/security/cert/CertPathBuilderResult.html#clone())() Makes a copy of this `CertPathBuilderResult`. |\n| abstract [CertPath](../../../../reference/java/security/cert/CertPath.html) | [getCertPath](../../../../reference/java/security/cert/CertPathBuilderResult.html#getCertPath())() Returns the built certification path. |\n\nPublic Methods \n\npublic abstract [Object](../../../../reference/java/lang/Object.html)\n**clone**\n() \nMakes a copy of this `CertPathBuilderResult`. Changes to the\ncopy will not affect the original and vice versa. \n\nReturns\n\n- a copy of this `CertPathBuilderResult` \n\npublic abstract [CertPath](../../../../reference/java/security/cert/CertPath.html)\n**getCertPath**\n() \nReturns the built certification path. \n\nReturns\n\n- the certification path (never `null`)"]]