public class

PKIXCertPathValidator

extends CertPathValidatorSpi
java.lang.Object
   ↳ java.security.cert.CertPathValidatorSpi
     ↳ sun.security.provider.certpath.PKIXCertPathValidator

Class Overview

This class implements the PKIX validation algorithm for certification paths consisting exclusively of X509Certificates. It uses the specified input parameter set (which must be a PKIXParameters object) and signature provider (if any).

Summary

Public Constructors
PKIXCertPathValidator()
Default constructor.
Public Methods
CertPathValidatorResult engineValidate(CertPath cp, CertPathParameters param)
Validates a certification path consisting exclusively of X509Certificates using the PKIX validation algorithm, which uses the specified input parameter set.
[Expand]
Inherited Methods
From class java.security.cert.CertPathValidatorSpi
From class java.lang.Object

Public Constructors

public PKIXCertPathValidator ()

Default constructor.

Public Methods

public CertPathValidatorResult engineValidate (CertPath cp, CertPathParameters param)

Validates a certification path consisting exclusively of X509Certificates using the PKIX validation algorithm, which uses the specified input parameter set. The input parameter set must be a PKIXParameters object.

Parameters
cp the X509 certification path
param the input PKIX parameter set
Returns
  • the result
Throws
CertPathValidatorException Exception thrown if cert path does not validate.
InvalidAlgorithmParameterException if the specified parameters are inappropriate for this certification path validator