Skip to content

Most visited

Recently visited

navigation
Added in API level 1

CertPathValidatorSpi

public abstract class CertPathValidatorSpi
extends Object

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


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.

Inherited methods

From class java.lang.Object

Public constructors

CertPathValidatorSpi

Added in API level 1
CertPathValidatorSpi ()

Creates a new CertPathValidatorSpi instance.

Public methods

engineValidate

Added in API level 1
CertPathValidatorResult engineValidate (CertPath certPath, 
                CertPathParameters params)

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

Parameters
certPath CertPath: the certification path to be validated.
params CertPathParameters: the certification path validator algorithm parameters.
Returns
CertPathValidatorResult 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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.