Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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 ()

Added in API level 1

Creates a new CertPathValidatorSpi instance.

Public Methods

public abstract CertPathValidatorResult engineValidate ( CertPath certPath, CertPathParameters params)

Added in 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.