Package org.bouncycastle.x509
Class PKIXAttrCertChecker
- java.lang.Object
-
- org.bouncycastle.x509.PKIXAttrCertChecker
-
-
Constructor Summary
Constructors Constructor Description PKIXAttrCertChecker()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidcheck(X509AttributeCertificate attrCert, CertPath certPath, CertPath holderCertPath, Collection unresolvedCritExts)Performs checks on the specified attribute certificate.abstract Objectclone()Returns a clone of this object.abstract SetgetSupportedExtensions()Returns an immutableSetof X.509 attribute certificate extensions that thisPKIXAttrCertCheckersupports ornullif no extensions are supported.
-
-
-
Method Detail
-
getSupportedExtensions
public abstract Set getSupportedExtensions()
Returns an immutableSetof X.509 attribute certificate extensions that thisPKIXAttrCertCheckersupports ornullif no extensions are supported.Each element of the set is a
Stringrepresenting the Object Identifier (OID) of the X.509 extension that is supported.All X.509 attribute certificate extensions that a
PKIXAttrCertCheckermight possibly be able to process should be included in the set.- Returns:
- an immutable
Setof X.509 extension OIDs (inStringformat) supported by thisPKIXAttrCertChecker, ornullif no extensions are supported
-
check
public abstract void check(X509AttributeCertificate attrCert, CertPath certPath, CertPath holderCertPath, Collection unresolvedCritExts) throws CertPathValidatorException
Performs checks on the specified attribute certificate. Every handled extension is rmeoved from theunresolvedCritExtscollection.- Parameters:
attrCert- The attribute certificate to be checked.certPath- The certificate path which belongs to the attribute certificate issuer public key certificate.holderCertPath- The certificate path which belongs to the holder certificate.unresolvedCritExts- aCollectionof OID strings representing the current set of unresolved critical extensions- Throws:
CertPathValidatorException- if the specified attribute certificate does not pass the check.
-
-