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

public Class BasicConstraintsValidation

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

Field Summary

Modifier and TypeField and Description
private boolean
private Integer
private boolean

Constructor Summary

AccessConstructor and Description
public
public
BasicConstraintsValidation(boolean isMandatory)

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.

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

isMandatoryback to summary
private boolean isMandatory
maxPathLengthback to summary
private Integer maxPathLength
previousCertWasCAback to summary
private boolean previousCertWasCA

Constructor Detail

BasicConstraintsValidationback to summary
public BasicConstraintsValidation()
BasicConstraintsValidationback to summary
public BasicConstraintsValidation(boolean isMandatory)

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.

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.