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

public Class KeyUsageValidation

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

Field Summary

Modifier and TypeField and Description
private boolean

Constructor Summary

AccessConstructor and Description
public
public
KeyUsageValidation(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

Constructor Detail

KeyUsageValidationback to summary
public KeyUsageValidation()
KeyUsageValidationback to summary
public KeyUsageValidation(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.