Top Fields Constructors Methods
org.bouncycastle.cert.path.validations

public Class CertificatePoliciesValidation

extends Object
implements CertPathValidation
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cert.path.CertPathValidation, org.bouncycastle.util.Memoable
Imports
java.math.BigInteger, org.bouncycastle.asn1.ASN1Integer, org.bouncycastle.asn1.x509.Extension, .PolicyConstraints, org.bouncycastle.cert.X509CertificateHolder, org.bouncycastle.cert.path.CertPathValidation, .CertPathValidationContext, .CertPathValidationException, org.bouncycastle.util.Memoable

Field Summary

Modifier and TypeField and Description
private int
private int
private int

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
CertificatePoliciesValidation(int pathLength, boolean isExplicitPolicyRequired, boolean isAnyPolicyInhibited, boolean isPolicyMappingInhibited)

Method Summary

Modifier and TypeMethod and Description
public Memoable
copy()

Implements org.bouncycastle.util.Memoable.copy.

Produce a copy of this object with its configuration and in its current state.
private int
countDown(int policyCounter)

public void
reset(Memoable
an object originally copied from an object of the same type as this instance.
other
)

Implements org.bouncycastle.util.Memoable.reset.

Restore a copied object state into this object.
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

explicitPolicyback to summary
private int explicitPolicy
inhibitAnyPolicyback to summary
private int inhibitAnyPolicy
policyMappingback to summary
private int policyMapping

Constructor Detail

CertificatePoliciesValidationback to summary
pack-priv CertificatePoliciesValidation(int pathLength)
CertificatePoliciesValidationback to summary
pack-priv CertificatePoliciesValidation(int pathLength, boolean isExplicitPolicyRequired, boolean isAnyPolicyInhibited, boolean isPolicyMappingInhibited)

Method Detail

copyback to summary
public Memoable copy()

Implements org.bouncycastle.util.Memoable.copy.

Doc from org.bouncycastle.util.Memoable.copy.

Produce a copy of this object with its configuration and in its current state.

The returned object may be used simply to store the state, or may be used as a similar object starting from the copied state.

countDownback to summary
private int countDown(int policyCounter)
resetback to summary
public void reset(Memoable other)

Implements org.bouncycastle.util.Memoable.reset.

Doc from org.bouncycastle.util.Memoable.reset.

Restore a copied object state into this object.

Implementations of this method should try to avoid or minimise memory allocation to perform the reset.

Parameters
other:Memoable

an object originally copied from an object of the same type as this instance.

validateback to summary
public void validate(CertPathValidationContext context, X509CertificateHolder certificate) throws CertPathValidationException

Implements org.bouncycastle.cert.path.CertPathValidation.validate.