Class CertPathValidationContext

java.lang.Object
org.bouncycastle.cert.path.CertPathValidationContext
All Implemented Interfaces:
Memoable

public class CertPathValidationContext extends Object implements Memoable
  • Constructor Details

    • CertPathValidationContext

      public CertPathValidationContext(Set criticalExtensionsOIDs)
  • Method Details

    • addHandledExtension

      public void addHandledExtension(ASN1ObjectIdentifier extensionIdentifier)
    • setIsEndEntity

      public void setIsEndEntity(boolean isEndEntity)
    • getUnhandledCriticalExtensionOIDs

      public Set getUnhandledCriticalExtensionOIDs()
    • isEndEntity

      public boolean isEndEntity()
      Returns true if the current certificate is the end-entity certificate.
      Returns:
      if current cert end-entity, false otherwise.
    • copy

      public Memoable copy()
      Description copied from interface: Memoable
      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.

      Specified by:
      copy in interface Memoable
    • reset

      public void reset(Memoable other)
      Description copied from interface: Memoable
      Restore a copied object state into this object.

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

      Specified by:
      reset in interface Memoable
      Parameters:
      other - an object originally copied from an object of the same type as this instance.