Package org.bouncycastle.asn1.util
Class ASN1Dump
java.lang.Object
org.bouncycastle.asn1.util.ASN1Dump
public class ASN1Dump extends Object
-
Constructor Summary
Constructors Constructor Description ASN1Dump() -
Method Summary
Modifier and Type Method Description static StringdumpAsString(Object obj)dump out a DER object as a formatted string, in non-verbose mode.static StringdumpAsString(Object obj, boolean verbose)Dump out the object as a string.
-
Constructor Details
-
ASN1Dump
public ASN1Dump()
-
-
Method Details
-
dumpAsString
dump out a DER object as a formatted string, in non-verbose mode.- Parameters:
obj- the ASN1Primitive to be dumped out.- Returns:
- the resulting string.
-
dumpAsString
Dump out the object as a string.- Parameters:
obj- the object to be dumpedverbose- if true, dump out the contents of octet and bit strings.- Returns:
- the resulting string.
-