Class ASN1StringBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1StringBCFips
- All Implemented Interfaces:
-
IASN1String
Wrapper class for
ASN1String.
-
Constructor Summary
ConstructorsConstructorDescriptionASN1StringBCFips(org.bouncycastle.asn1.ASN1String asn1String) Creates new wrapper instance forASN1String. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.asn1.ASN1StringGets actual org.bouncycastle object being wrapped.Calls actualgetStringmethod for the wrapped ASN1String object.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
ASN1StringBCFips
public ASN1StringBCFips(org.bouncycastle.asn1.ASN1String asn1String) Creates new wrapper instance forASN1String.- Parameters:
-
asn1String-ASN1Stringto be wrapped
-
-
Method Details
-
getAsn1String
public org.bouncycastle.asn1.ASN1String getAsn1String()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1String.
-
getString
Calls actualgetStringmethod for the wrapped ASN1String object.- Specified by:
-
getStringin interfaceIASN1String - Returns:
- the resulting string.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoStringmethod call to the wrapped object.
-