java.security.cert

Class CertPathValidatorSpi

public abstract class CertPathValidatorSpi extends Object

The service provider interface (SPI) for the {@link CertPathValidator} class. Providers implementing certificate path validators must subclass this class and implement its abstract methods.
Constructor Summary
CertPathValidatorSpi()
Default constructor.
Method Summary
abstract CertPathValidatorResultengineValidate(CertPath certPath, CertPathParameters params)
Attempt to validate a certificate path.

Constructor Detail

CertPathValidatorSpi

public CertPathValidatorSpi()
Default constructor.

Method Detail

engineValidate

public abstract CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params)
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.