public abstract class

CertPathValidatorSpi

extends Object
java.lang.Object
   ↳ java.security.cert.CertPathValidatorSpi

Class Overview

The Service Provider Interface (SPI) for the CertPathValidator class to be implemented by security providers.

Summary

Public Constructors
CertPathValidatorSpi()
Creates a new CertPathValidatorSpi instance.
Public Methods
abstract CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params)
Validates the CertPath with the algorithm of this CertPathValidator using the specified algorithm parameters.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CertPathValidatorSpi ()

Since: API Level 1

Creates a new CertPathValidatorSpi instance.

Public Methods

public abstract CertPathValidatorResult engineValidate (CertPath certPath, CertPathParameters params)

Since: API Level 1

Validates the CertPath with the algorithm of this CertPathValidator using the specified algorithm parameters.

Parameters
certPath the certification path to be validated.
params the certification path validator algorithm parameters.
Returns
  • the validation result.
Throws
CertPathValidatorException if the validation fails, or the algorithm of the specified certification path cannot be validated using the algorithm of this instance.
InvalidAlgorithmParameterException if the specified algorithm parameters cannot be used with this algorithm.