Class ASN1StringBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1StringBCFips
All Implemented Interfaces:
IASN1String

public class ASN1StringBCFips extends Object implements IASN1String
Wrapper class for ASN1String.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ASN1StringBCFips(org.bouncycastle.asn1.ASN1String asn1String)
    Creates new wrapper instance for ASN1String.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    org.bouncycastle.asn1.ASN1String
    Gets actual org.bouncycastle object being wrapped.
    Calls actual getString method for the wrapped ASN1String object.
    int
    Returns a hash code value based on the wrapped object.
    Delegates toString method call to the wrapped object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ASN1StringBCFips

      public ASN1StringBCFips (org.bouncycastle.asn1.ASN1String asn1String)
      Creates new wrapper instance for ASN1String.
      Parameters:
      asn1String - ASN1String to be wrapped
  • Method Details

    • getAsn1String

      public org.bouncycastle.asn1.ASN1String getAsn1String()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped ASN1String.
    • getString

      public String getString()
      Calls actual getString method for the wrapped ASN1String object.
      Specified by:
      getString in interface IASN1String
      Returns:
      the resulting string.
    • 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