Modifier and Type | Field and Description |
---|---|
private static int |
SAMPLE_SIZE |
private static String |
TAB |
Constructor and Description |
---|
ASN1Dump() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
_dumpAsString(String indent,
boolean verbose,
ASN1Primitive obj,
StringBuffer buf)
dump a DER object as a formatted string with indentation
|
private static String |
calculateAscString(byte[] bytes,
int off,
int len) |
static String |
dumpAsString(Object obj)
dump out a DER object as a formatted string, in non-verbose mode.
|
static String |
dumpAsString(Object obj,
boolean verbose)
Dump out the object as a string.
|
private static String |
dumpBinaryDataAsString(String indent,
byte[] bytes) |
private static String |
outputApplicationSpecific(String type,
String indent,
boolean verbose,
ASN1Primitive obj,
String nl) |
private static final String TAB
private static final int SAMPLE_SIZE
public ASN1Dump()
static void _dumpAsString(String indent, boolean verbose, ASN1Primitive obj, StringBuffer buf)
obj
- the ASN1Primitive to be dumped out.private static String outputApplicationSpecific(String type, String indent, boolean verbose, ASN1Primitive obj, String nl)
public static String dumpAsString(Object obj)
obj
- the ASN1Primitive to be dumped out.public static String dumpAsString(Object obj, boolean verbose)
obj
- the object to be dumpedverbose
- if true, dump out the contents of octet and bit strings.private static String dumpBinaryDataAsString(String indent, byte[] bytes)
private static String calculateAscString(byte[] bytes, int off, int len)