APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.provider.certpath

pack-priv Class PKIXMasterCertPathValidator

extends Object
Class Inheritance
Imports
sun.security.util.Debug, java.util.Collections, .List, .Set, .StringJoiner, java.security.cert.CertPath, .CertPathValidatorException, .PKIXCertPathChecker, .PKIXReason, .X509Certificate

This class is initialized with a list of PKIXCertPathCheckers and is used to verify the certificates in a CertPath by feeding each certificate to each PKIXCertPathChecker.
Author
Yassir Elley
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final Debug

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
validate(CertPath
the original X509 CertPath passed in by the user
cpOriginal
,
List<X509Certificate>
the reversed X509 CertPath (as a List)
reversedCertList
,
List<PKIXCertPathChecker>
the PKIXCertPathCheckers
certPathCheckers
)

Validates a certification path consisting exclusively of X509Certificates using the specified PKIXCertPathCheckers.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

debugback to summary
private static final Debug debug

Constructor Detail

PKIXMasterCertPathValidatorback to summary
pack-priv PKIXMasterCertPathValidator()

Method Detail

validateback to summary
pack-priv static void validate(CertPath cpOriginal, List<X509Certificate> reversedCertList, List<PKIXCertPathChecker> certPathCheckers) throws CertPathValidatorException

Validates a certification path consisting exclusively of X509Certificates using the specified PKIXCertPathCheckers. It is assumed that the PKIXCertPathCheckers have been initialized with any input parameters they may need.

Parameters
cpOriginal:CertPath

the original X509 CertPath passed in by the user

reversedCertList:List<X509Certificate>

the reversed X509 CertPath (as a List)

certPathCheckers:List<PKIXCertPathChecker>

the PKIXCertPathCheckers

Exceptions
CertPathValidatorException:
if cert path does not validate