01: package org.bouncycastle.asn1.util;
02:
03: import org.bouncycastle.asn1.DEREncodable;
04: import org.bouncycastle.asn1.DERObject;
05:
06: /**
07: * @deprecated use ASN1Dump.
08: */
09: public class DERDump extends ASN1Dump {
10: /**
11: * dump out a DER object as a formatted string
12: *
13: * @param obj the DERObject to be dumped out.
14: */
15: public static String dumpAsString(DERObject obj) {
16: return _dumpAsString("", obj);
17: }
18:
19: /**
20: * dump out a DER object as a formatted string
21: *
22: * @param obj the DERObject to be dumped out.
23: */
24: public static String dumpAsString(DEREncodable obj) {
25: return _dumpAsString("", obj.getDERObject());
26: }
27: }
|