java.security.cert
Class CertPathValidatorSpi

java.lang.Object
  extended by java.security.cert.CertPathValidatorSpi

public abstract class CertPathValidatorSpi
extends Object

The service provider interface (SPI) for the CertPathValidator class. Providers implementing certificate path validators must subclass this class and implement its abstract methods.


Constructor Summary
CertPathValidatorSpi()
          Default constructor.
 
Method Summary
abstract  CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params)
          Attempt to validate a certificate path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPathValidatorSpi

public CertPathValidatorSpi()
Default constructor.

Method Detail

engineValidate

public abstract CertPathValidatorResult engineValidate(CertPath certPath,
                                                       CertPathParameters params)
                                                throws CertPathValidatorException,
                                                       InvalidAlgorithmParameterException
Attempt to validate a certificate path.

Parameters:
certPath - The path to validate.
params - The algorithm-specific parameters.
Returns:
The result of this validation attempt.
Throws:
CertPathValidatorException - If the certificate path cannot be validated.
InvalidAlgorithmParameterException - If this implementation rejects the specified parameters.