Package com.itextpdf.bouncycastle.asn1
Class ASN1StringBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1StringBC
- All Implemented Interfaces:
-
IASN1String
Wrapper class for
ASN1String
.
-
Constructor Summary
ConstructorDescriptionASN1StringBC
(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
-
ASN1StringBC
public ASN1StringBC(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.
-