1
package org.bouncycastle.asn1.util;
3
import org.bouncycastle.asn1.DEREncodable;
4
import org.bouncycastle.asn1.DERObject;
7
* @deprecated use ASN1Dump.
13
* dump out a DER object as a formatted string
15
* @param obj the DERObject to be dumped out.
17
public static String dumpAsString(
20
StringBuffer buf = new StringBuffer();
22
_dumpAsString("", false, obj, buf);
24
return buf.toString();
28
* dump out a DER object as a formatted string
30
* @param obj the DERObject to be dumped out.
32
public static String dumpAsString(
35
StringBuffer buf = new StringBuffer();
37
_dumpAsString("", false, obj.getDERObject(), buf);
39
return buf.toString();