Class ASN1StringBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1StringBCFips
- All Implemented Interfaces:
-
IASN1String
Wrapper class for
ASN1String
.
-
Constructor Summary
ConstructorDescriptionASN1StringBCFips
(org.bouncycastle.asn1.ASN1String asn1String) Creates new wrapper instance forASN1String
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.asn1.ASN1String
Gets actual org.bouncycastle object being wrapped.Calls actualgetString
method for the wrapped ASN1String object.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
ASN1StringBCFips
public ASN1StringBCFips(org.bouncycastle.asn1.ASN1String asn1String) Creates new wrapper instance forASN1String
.- 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
Calls actualgetString
method for the wrapped ASN1String object.- Specified by:
-
getString
in 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
DelegatestoString
method call to the wrapped object.
-