Class ASN1DumpBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.util.ASN1DumpBC
- All Implemented Interfaces:
-
IASN1Dump
Wrapper class for
ASN1Dump.
-
Constructor Summary
ConstructorsConstructorDescriptionASN1DumpBC(org.bouncycastle.asn1.util.ASN1Dump asn1Dump) Creates new wrapper instance forASN1Dump. -
Method Summary
Modifier and TypeMethodDescriptiondumpAsString(Object obj) Calls actualdumpAsStringmethod for the wrapped ASN1Dump object.dumpAsString(Object obj, boolean b) Calls actualdumpAsStringmethod for the wrapped ASN1Dump object.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.asn1.util.ASN1DumpGets actual org.bouncycastle object being wrapped.static ASN1DumpBCGets wrapper instance.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
ASN1DumpBC
public ASN1DumpBC(org.bouncycastle.asn1.util.ASN1Dump asn1Dump) Creates new wrapper instance forASN1Dump.- Parameters:
-
asn1Dump-ASN1Dumpto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
ASN1DumpBCinstance.
-
getAsn1Dump
public org.bouncycastle.asn1.util.ASN1Dump getAsn1Dump()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Dump.
-
dumpAsString
Calls actualdumpAsStringmethod for the wrapped ASN1Dump object.- Specified by:
-
dumpAsStringin interfaceIASN1Dump - Parameters:
-
obj- the ASN1Primitive (or its wrapper) to be dumped out -
b- if true, dump out the contents of octet and bit strings - Returns:
- the resulting string.
-
dumpAsString
Calls actualdumpAsStringmethod for the wrapped ASN1Dump object.- Specified by:
-
dumpAsStringin interfaceIASN1Dump - Parameters:
-
obj- the ASN1Primitive (or its wrapper) to be dumped out - 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.
-