# CertPathBuilderResult

public interface **CertPathBuilderResult** implements [Cloneable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Cloneable.html)

|---|---|---|
| Known Indirect Subclasses [PKIXCertPathBuilderResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXCertPathBuilderResult.html) |---|---| | [PKIXCertPathBuilderResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXCertPathBuilderResult.html) | This class represents the successful result of the PKIX certification path builder algorithm. | |||

A specification of the result of a certification path builder algorithm.
All results returned by the `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathBuilder.html#build(java.security.cert.CertPathParameters)` 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.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathBuilder.html`

### Public Method Summary

|---|---|
| abstract [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathBuilderResult.html#clone())() Makes a copy of this `CertPathBuilderResult`. |
| abstract [CertPath](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPath.html) | [getCertPath](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathBuilderResult.html#getCertPath())() Returns the built certification path. |

## Public Methods

#### public abstract [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)
**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](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPath.html)
**getCertPath**
()

Returns the built certification path.

##### Returns

- the certification path (never `null`)