java.security.cert
Class CertPathBuilderSpi

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.security.cert.CertPathBuilderSpi

public abstract class CertPathBuilderSpi
extends Object sample code for java.lang.Object definition code for java.lang.Object

The Service Provider Interface (SPI) for the CertPathBuilder sample code for java.security.cert.CertPathBuilder definition code for java.security.cert.CertPathBuilder class. All CertPathBuilder implementations must include a class (the SPI class) that extends this class (CertPathBuilderSpi) and implements all of its methods. In general, instances of this class should only be accessed through the CertPathBuilder class. For details, see the Java Cryptography Architecture.

Concurrent Access

Instances of this class need not be protected against concurrent access from multiple threads. Threads that need to access a single CertPathBuilderSpi instance concurrently should synchronize amongst themselves and provide the necessary locking before calling the wrapping CertPathBuilder object.

However, implementations of CertPathBuilderSpi may still encounter concurrency issues, since multiple threads each manipulating a different CertPathBuilderSpi instance need not synchronize.

Since:
1.4

Constructor Summary
CertPathBuilderSpi sample code for java.security.cert.CertPathBuilderSpi.CertPathBuilderSpi() definition code for java.security.cert.CertPathBuilderSpi.CertPathBuilderSpi() ()
          The default constructor.
 
Method Summary
abstract  CertPathBuilderResult sample code for java.security.cert.CertPathBuilderResult definition code for java.security.cert.CertPathBuilderResult engineBuild sample code for java.security.cert.CertPathBuilderSpi.engineBuild(java.security.cert.CertPathParameters) definition code for java.security.cert.CertPathBuilderSpi.engineBuild(java.security.cert.CertPathParameters) (CertPathParameters sample code for java.security.cert.CertPathParameters definition code for java.security.cert.CertPathParameters  params)
          Attempts to build a certification path using the specified algorithm parameter set.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

CertPathBuilderSpi sample code for java.security.cert.CertPathBuilderSpi() definition code for java.security.cert.CertPathBuilderSpi()

public CertPathBuilderSpi()
The default constructor.

Method Detail

engineBuild sample code for java.security.cert.CertPathBuilderSpi.engineBuild(java.security.cert.CertPathParameters) definition code for java.security.cert.CertPathBuilderSpi.engineBuild(java.security.cert.CertPathParameters)

public abstract CertPathBuilderResult sample code for java.security.cert.CertPathBuilderResult definition code for java.security.cert.CertPathBuilderResult  engineBuild(CertPathParameters sample code for java.security.cert.CertPathParameters definition code for java.security.cert.CertPathParameters  params)
                                           throws CertPathBuilderException sample code for java.security.cert.CertPathBuilderException definition code for java.security.cert.CertPathBuilderException ,
                                                  InvalidAlgorithmParameterException sample code for java.security.InvalidAlgorithmParameterException definition code for java.security.InvalidAlgorithmParameterException 
Attempts to build a certification path using the specified algorithm parameter set.

Parameters:
params - the algorithm parameters
Returns:
the result of the build algorithm
Throws:
CertPathBuilderException sample code for java.security.cert.CertPathBuilderException definition code for java.security.cert.CertPathBuilderException - if the builder is unable to construct a certification path that satisfies the specified parameters
InvalidAlgorithmParameterException sample code for java.security.InvalidAlgorithmParameterException definition code for java.security.InvalidAlgorithmParameterException - if the specified parameters are inappropriate for this CertPathBuilder