Top Constructors Methods
org.bouncycastle.x509

public abstract Class PKIXAttrCertChecker

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
java.security.cert.CertPath, .CertPathValidatorException, java.util.Collection, .Set

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
check(X509AttributeCertificate
The attribute certificate to be checked.
attrCert
,
CertPath
The certificate path which belongs to the attribute certificate issuer public key certificate.
certPath
,
CertPath
The certificate path which belongs to the holder certificate.
holderCertPath
,
Collection<E>
a Collection of OID strings representing the current set of unresolved critical extensions
unresolvedCritExts
)

Deprecated as a consequence of X509AttributeCertificate being deprecated.
Performs checks on the specified attribute certificate.
public abstract Object

Returns:

a copy of this PKIXAttrCertChecker
clone
()

Overrides java.lang.Object.clone.

Returns a clone of this object.
public abstract Set<E>

Returns:

an immutable Set of X.509 extension OIDs (in String format) supported by this PKIXAttrCertChecker, or null if no extensions are supported
getSupportedExtensions
()

Returns an immutable Set of X.509 attribute certificate extensions that this PKIXAttrCertChecker supports or null if no extensions are supported.

Inherited from java.lang.Object:
equalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PKIXAttrCertCheckerback to summary
public PKIXAttrCertChecker()

Method Detail

checkback to summary
public abstract void check(X509AttributeCertificate attrCert, CertPath certPath, CertPath holderCertPath, Collection<E> unresolvedCritExts) throws CertPathValidatorException

Deprecated

as a consequence of X509AttributeCertificate being deprecated. See corresponding docs for further information.

Performs checks on the specified attribute certificate. Every handled extension is rmeoved from the unresolvedCritExts collection.

Parameters
attrCert:X509AttributeCertificate

The attribute certificate to be checked.

certPath:CertPath

The certificate path which belongs to the attribute certificate issuer public key certificate.

holderCertPath:CertPath

The certificate path which belongs to the holder certificate.

unresolvedCritExts:Collection<E>

a Collection of OID strings representing the current set of unresolved critical extensions

Exceptions
CertPathValidatorException:
if the specified attribute certificate does not pass the check.
cloneback to summary
public abstract Object clone()

Overrides java.lang.Object.clone.

Returns a clone of this object.

Returns:Object

a copy of this PKIXAttrCertChecker

getSupportedExtensionsback to summary
public abstract Set<E> getSupportedExtensions()

Returns an immutable Set of X.509 attribute certificate extensions that this PKIXAttrCertChecker supports or null if no extensions are supported.

Each element of the set is a String representing the Object Identifier (OID) of the X.509 extension that is supported.

All X.509 attribute certificate extensions that a PKIXAttrCertChecker might possibly be able to process should be included in the set.

Returns:Set<E>

an immutable Set of X.509 extension OIDs (in String format) supported by this PKIXAttrCertChecker, or null if no extensions are supported