Class ASN1EncodingBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodingBCFips
- All Implemented Interfaces:
-
IASN1Encoding
Wrapper class for
ASN1Encoding
.
-
Constructor Summary
ConstructorDescriptionASN1EncodingBCFips
(org.bouncycastle.asn1.ASN1Encoding asn1Encoding) Creates new wrapper instance forASN1Encoding
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.asn1.ASN1Encoding
Gets actual org.bouncycastle object being wrapped.getBer()
GetsBER
constant for the wrapped ASN1Encoding.getDer()
GetsDER
constant for the wrapped ASN1Encoding.static ASN1EncodingBCFips
Gets wrapper instance.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
ASN1EncodingBCFips
public ASN1EncodingBCFips(org.bouncycastle.asn1.ASN1Encoding asn1Encoding) Creates new wrapper instance forASN1Encoding
.- Parameters:
-
asn1Encoding
-ASN1Encoding
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
ASN1EncodingBCFips
instance.
-
getAsn1Encoding
public org.bouncycastle.asn1.ASN1Encoding getAsn1Encoding()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Encoding
.
-
getDer
GetsDER
constant for the wrapped ASN1Encoding.- Specified by:
-
getDer
in interfaceIASN1Encoding
- Returns:
- ASN1Encoding.DER value.
-
getBer
GetsBER
constant for the wrapped ASN1Encoding.- Specified by:
-
getBer
in interfaceIASN1Encoding
- Returns:
- ASN1Encoding.BER value.
-
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.
-