1
package java.security.cert;
4
* A specification of the result of a certification path builder algorithm.
5
* All results returned by the {@link CertPathBuilder#build CertPathBuilder.build} method
6
* must implement this interface.<br />
8
* At a minimum, a CertPathBuilderResult contains the CertPath built by the
9
* CertPathBuilder instance. Implementations of this interface may add methods
10
* to return implementation or algorithm specific information, such as
11
* debugging information or certification path validation results.<br />
13
* <strong>Concurrent Access</strong><br />
15
* Unless otherwise specified, the methods defined in this interface are not
16
* thread-safe. Multiple threads that need to access a single object
17
* concurrently should synchronize amongst themselves and provide the
18
* necessary locking. Multiple threads each manipulating separate objects
19
* need not synchronize.
21
public interface CertPathBuilderResult extends Cloneable
24
* Returns the built certification path.
26
* @return the certification path (never <code>null</code>)
28
public CertPath getCertPath();
31
* Makes a copy of this <code>CertPathBuilderResult</code>.
32
* Changes to the copy will not affect the original and vice
35
* @return a copy of this CertPathBuilderResult
37
public Object clone();