Class ASN1DumpBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.util.ASN1DumpBC
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.asn1.util.ASN1Dump
asn1Dump
private static ASN1DumpBC
INSTANCE
-
Constructor Summary
Constructors Constructor Description ASN1DumpBC(org.bouncycastle.asn1.util.ASN1Dump asn1Dump)
Creates new wrapper instance forASN1Dump
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
dumpAsString(java.lang.Object obj)
Calls actualdumpAsString
method for the wrapped ASN1Dump object.java.lang.String
dumpAsString(java.lang.Object obj, boolean b)
Calls actualdumpAsString
method for the wrapped ASN1Dump object.boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.org.bouncycastle.asn1.util.ASN1Dump
getAsn1Dump()
Gets actual org.bouncycastle object being wrapped.static ASN1DumpBC
getInstance()
Gets wrapper instance.int
hashCode()
Returns a hash code value based on the wrapped object.java.lang.String
toString()
DelegatestoString
method call to the wrapped object.
-
-
-
Field Detail
-
INSTANCE
private static final ASN1DumpBC INSTANCE
-
asn1Dump
private final org.bouncycastle.asn1.util.ASN1Dump asn1Dump
-
-
Method Detail
-
getInstance
public static ASN1DumpBC getInstance()
Gets wrapper instance.- Returns:
ASN1DumpBC
instance.
-
getAsn1Dump
public org.bouncycastle.asn1.util.ASN1Dump getAsn1Dump()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
ASN1Dump
.
-
dumpAsString
public java.lang.String dumpAsString(java.lang.Object obj, boolean b)
Calls actualdumpAsString
method for the wrapped ASN1Dump object.- Specified by:
dumpAsString
in interfaceIASN1Dump
- Parameters:
obj
- the ASN1Primitive (or its wrapper) to be dumped outb
- if true, dump out the contents of octet and bit strings- Returns:
- the resulting string.
-
dumpAsString
public java.lang.String dumpAsString(java.lang.Object obj)
Calls actualdumpAsString
method for the wrapped ASN1Dump object.- Specified by:
dumpAsString
in interfaceIASN1Dump
- Parameters:
obj
- the ASN1Primitive (or its wrapper) to be dumped out- Returns:
- the resulting string.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Object
-
-