Class X509ExtensionUtilsBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cert.X509ExtensionUtilsBCFips
All Implemented Interfaces:
IX509ExtensionUtils

public class X509ExtensionUtilsBCFips extends Object implements IX509ExtensionUtils
Wrapper class for X509ExtensionUtils.
  • Constructor Details

    • X509ExtensionUtilsBCFips

      public X509ExtensionUtilsBCFips (org.bouncycastle.cert.X509ExtensionUtils extensionUtils)
      Creates new wrapper instance for X509ExtensionUtils.
      Parameters:
      extensionUtils - X509ExtensionUtils to be wrapped
    • X509ExtensionUtilsBCFips

      public X509ExtensionUtilsBCFips (IDigestCalculator digestCalculator)
      Creates new wrapper instance for X509ExtensionUtils.
      Parameters:
      digestCalculator - DigestCalculator wrapper to create X509ExtensionUtils
  • Method Details

    • getExtensionUtils

      public org.bouncycastle.cert.X509ExtensionUtils getExtensionUtils()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped X509ExtensionUtils.
    • createAuthorityKeyIdentifier

      public IAuthorityKeyIdentifier createAuthorityKeyIdentifier (ISubjectPublicKeyInfo publicKeyInfo)
      Calls actual createAuthorityKeyIdentifier method for the wrapped X509ExtensionUtils object.
      Specified by:
      createAuthorityKeyIdentifier in interface IX509ExtensionUtils
      Parameters:
      publicKeyInfo - SubjectPublicKeyInfo wrapper
      Returns:
      IAuthorityKeyIdentifier wrapper for the created AuthorityKeyIdentifier.
    • createSubjectKeyIdentifier

      public ISubjectKeyIdentifier createSubjectKeyIdentifier (ISubjectPublicKeyInfo publicKeyInfo)
      Calls actual createSubjectKeyIdentifier method for the wrapped X509ExtensionUtils object.
      Specified by:
      createSubjectKeyIdentifier in interface IX509ExtensionUtils
      Parameters:
      publicKeyInfo - SubjectPublicKeyInfo wrapper
      Returns:
      ISubjectKeyIdentifier wrapper for the created SubjectKeyIdentifier.
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object