Stay organized with collections
Save and categorize content based on your preferences.
CertPathBuilderResult
public
interface
CertPathBuilderResult
implements
Cloneable
java.security.cert.CertPathBuilderResult
|
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.
Summary
Public methods |
abstract
Object
|
clone()
Makes a copy of this CertPathBuilderResult .
|
abstract
CertPath
|
getCertPath()
Returns the built certification path.
|
Public methods
clone
public abstract Object clone ()
Makes a copy of this CertPathBuilderResult
. Changes to the
copy will not affect the original and vice versa.
Returns |
Object |
a copy of this CertPathBuilderResult |
getCertPath
public abstract CertPath getCertPath ()
Returns the built certification path.
Returns |
CertPath |
the certification path (never null ) |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# CertPathBuilderResult\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Methods](#pubmethods) \n\nCertPathBuilderResult\n=====================\n\n\n`\npublic\n\n\ninterface\nCertPathBuilderResult\n`\n\n\n`\n\n\nimplements\n\n`[Cloneable](/reference/java/lang/Cloneable)`\n\n\n`\n\n|------------------------------------------|\n| java.security.cert.CertPathBuilderResult |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [PKIXCertPathBuilderResult](/reference/java/security/cert/PKIXCertPathBuilderResult) |--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------| | [PKIXCertPathBuilderResult](/reference/java/security/cert/PKIXCertPathBuilderResult) | This class represents the successful result of the PKIX certification path builder algorithm. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA specification of the result of a certification path builder algorithm.\nAll results returned by the [CertPathBuilder.build](/reference/java/security/cert/CertPathBuilder#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**See also:**\n\n- [CertPathBuilder](/reference/java/security/cert/CertPathBuilder)\n\nSummary\n-------\n\n| ### Public methods ||\n|----------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[Object](/reference/java/lang/Object) | ` `[clone](/reference/java/security/cert/CertPathBuilderResult#clone())`() ` Makes a copy of this `CertPathBuilderResult`. |\n| ` abstract `[CertPath](/reference/java/security/cert/CertPath) | ` `[getCertPath](/reference/java/security/cert/CertPathBuilderResult#getCertPath())`() ` Returns the built certification path. |\n\nPublic methods\n--------------\n\n### clone\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract Object clone ()\n```\n\nMakes a copy of this `CertPathBuilderResult`. Changes to the\ncopy will not affect the original and vice versa.\n\n\u003cbr /\u003e\n\n| Returns ||\n|---------------------------------------|-----------------------------------------------|\n| [Object](/reference/java/lang/Object) | a copy of this `CertPathBuilderResult` \u003cbr /\u003e |\n\n### getCertPath\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract CertPath getCertPath ()\n```\n\nReturns the built certification path.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------------------------------------------------|----------------------------------------------|\n| [CertPath](/reference/java/security/cert/CertPath) | the certification path (never `null`) \u003cbr /\u003e |"]]