Package com.itextpdf.bouncycastle.asn1
Class ASN1EncodingBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodingBC
- All Implemented Interfaces:
-
IASN1Encoding
Wrapper class for
ASN1Encoding.
-
Constructor Summary
ConstructorsConstructorDescriptionASN1EncodingBC(org.bouncycastle.asn1.ASN1Encoding asn1Encoding) Creates new wrapper instance forASN1Encoding. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.asn1.ASN1EncodingGets actual org.bouncycastle object being wrapped.getBer()GetsBERconstant for the wrapped ASN1Encoding.getDer()GetsDERconstant for the wrapped ASN1Encoding.static ASN1EncodingBCGets wrapper instance.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
ASN1EncodingBC
public ASN1EncodingBC(org.bouncycastle.asn1.ASN1Encoding asn1Encoding) Creates new wrapper instance forASN1Encoding.- Parameters:
-
asn1Encoding-ASN1Encodingto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
ASN1EncodingBCinstance.
-
getASN1Encoding
public org.bouncycastle.asn1.ASN1Encoding getASN1Encoding()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Encoding.
-
getDer
GetsDERconstant for the wrapped ASN1Encoding.- Specified by:
-
getDerin interfaceIASN1Encoding - Returns:
- ASN1Encoding.DER value.
-
getBer
GetsBERconstant for the wrapped ASN1Encoding.- Specified by:
-
getBerin 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
DelegatestoStringmethod call to the wrapped object.
-