Top Fields Constructors Methods
org.bouncycastle.cert.path

public Class CertPathValidationContext

extends Object
implements Memoable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Memoable
Imports
java.util.HashSet, .Set, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.util.Memoable

Field Summary

Modifier and TypeField and Description
private Set<E>
private boolean
private Set<E>
private int

Constructor Summary

AccessConstructor and Description
public
CertPathValidationContext(Set<E> criticalExtensionsOIDs)

Method Summary

Modifier and TypeMethod and Description
public void
public Memoable
copy()

Implements org.bouncycastle.util.Memoable.copy.

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

public Set<E>
public boolean

Returns:

if current cert end-entity, false otherwise.
isEndEntity
()

Returns true if the current certificate is the end-entity certificate.

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
setIsEndEntity(boolean isEndEntity)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

criticalExtensionsback to summary
private Set<E> criticalExtensions
endEntityback to summary
private boolean endEntity
handledExtensionsback to summary
private Set<E> handledExtensions
indexback to summary
private int index

Constructor Detail

CertPathValidationContextback to summary
public CertPathValidationContext(Set<E> criticalExtensionsOIDs)

Method Detail

addHandledExtensionback to summary
public void addHandledExtension(ASN1ObjectIdentifier extensionIdentifier)
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.

getUnhandledCriticalExtensionOIDsback to summary
public Set<E> getUnhandledCriticalExtensionOIDs()
isEndEntityback to summary
public boolean isEndEntity()

Returns true if the current certificate is the end-entity certificate.

Returns:boolean

if current cert end-entity, false otherwise.

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.

setIsEndEntityback to summary
public void setIsEndEntity(boolean isEndEntity)