Package org.bouncycastle.x509
Class PKIXAttrCertChecker
java.lang.Object
org.bouncycastle.x509.PKIXAttrCertChecker
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract 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 SetReturns an immutableSetof X.509 attribute certificate extensions that thisPKIXAttrCertCheckersupports ornullif no extensions are supported.
-
Constructor Details
-
PKIXAttrCertChecker
public PKIXAttrCertChecker()
-
-
Method Details
-
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.
-
clone
Returns a clone of this object.
-