java.security.cert
Interface CertPathBuilderResult

All Superinterfaces:
Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable
All Known Implementing Classes:
PKIXCertPathBuilderResult sample code for java.security.cert.PKIXCertPathBuilderResult definition code for java.security.cert.PKIXCertPathBuilderResult

public interface CertPathBuilderResult
extends Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable

A specification of the result of a certification path builder algorithm. All results returned by the CertPathBuilder.build sample code for java.security.cert.CertPathBuilder.build(java.security.cert.CertPathParameters) definition code for java.security.cert.CertPathBuilder.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.

Since:
1.4
See Also:
CertPathBuilder sample code for java.security.cert.CertPathBuilder definition code for java.security.cert.CertPathBuilder

Method Summary
 Object sample code for java.lang.Object definition code for java.lang.Object clone sample code for java.security.cert.CertPathBuilderResult.clone() definition code for java.security.cert.CertPathBuilderResult.clone() ()
          Makes a copy of this CertPathBuilderResult.
 CertPath sample code for java.security.cert.CertPath definition code for java.security.cert.CertPath getCertPath sample code for java.security.cert.CertPathBuilderResult.getCertPath() definition code for java.security.cert.CertPathBuilderResult.getCertPath() ()
          Returns the built certification path.
 

Method Detail

getCertPath sample code for java.security.cert.CertPathBuilderResult.getCertPath() definition code for java.security.cert.CertPathBuilderResult.getCertPath()

CertPath sample code for java.security.cert.CertPath definition code for java.security.cert.CertPath  getCertPath()
Returns the built certification path.

Returns:
the certification path (never null)

clone sample code for java.security.cert.CertPathBuilderResult.clone() definition code for java.security.cert.CertPathBuilderResult.clone()

Object sample code for java.lang.Object definition code for java.lang.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