Stay organized with collections
Save and categorize content based on your preferences.
CertPathBuilderResult
interface CertPathBuilderResult : Cloneable
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 Any |
Makes a copy of this CertPathBuilderResult .
|
abstract CertPath! |
Returns the built certification path.
|
Public methods
clone
abstract fun clone(): Any
Makes a copy of this CertPathBuilderResult
. Changes to the copy will not affect the original and vice versa.
Return |
Any |
a copy of this CertPathBuilderResult |
Exceptions |
java.lang.CloneNotSupportedException |
if the object's class does not support the Cloneable interface. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned. |
getCertPath
abstract fun getCertPath(): CertPath!
Returns the built certification path.
Return |
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.
[[["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 2025-02-10 UTC."],[],[],null,["# CertPathBuilderResult\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCertPathBuilderResult\n=====================\n\n```\ninterface CertPathBuilderResult : Cloneable\n```\n\n|-----------------------------------------------|\n| [java.security.cert.CertPathBuilderResult](#) |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [PKIXCertPathBuilderResult](/reference/kotlin/java/security/cert/PKIXCertPathBuilderResult) |---------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------| | [PKIXCertPathBuilderResult](/reference/kotlin/java/security/cert/PKIXCertPathBuilderResult) | 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. All results returned by the [CertPathBuilder.build](/reference/kotlin/java/security/cert/CertPathBuilder#build(java.security.cert.CertPathParameters)) method must implement this interface.\n\nAt 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.\n\n**Concurrent Access**\n\nUnless 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.\n\nSummary\n-------\n\n| Public methods ||\n|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| abstract [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) | [clone](#clone())`()` Makes a copy of this `CertPathBuilderResult`. |\n| abstract [CertPath](/reference/kotlin/java/security/cert/CertPath)! | [getCertPath](#getCertPath())`()` Returns the built certification path. |\n\nPublic methods\n--------------\n\n### clone\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun clone(): Any\n```\n\nMakes a copy of this `CertPathBuilderResult`. Changes to the copy will not affect the original and vice versa.\n\n| Return ||\n|----------------------------------------------------------------------------|----------------------------------------|\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) | a copy of this `CertPathBuilderResult` |\n\n| Exceptions ||\n|----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `java.lang.CloneNotSupportedException` | if the object's class does not support the `Cloneable` interface. Subclasses that override the `clone` method can also throw this exception to indicate that an instance cannot be cloned. |\n\n### getCertPath\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getCertPath(): CertPath!\n```\n\nReturns the built certification path.\n\n| Return ||\n|------------------------------------------------------------|---------------------------------------|\n| [CertPath](/reference/kotlin/java/security/cert/CertPath)! | the certification path (never `null`) |"]]