~brian-thomason/+junk/bouncycastle

« back to all changes in this revision

Viewing changes to jdk1.0/org/bouncycastle/asn1/util/DERDump.java

  • Committer: Brian Thomason
  • Date: 2011-12-20 17:20:32 UTC
  • Revision ID: brian.thomason@canonical.com-20111220172032-rdtm13jgdxtksacr
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.bouncycastle.asn1.util;
 
2
 
 
3
import org.bouncycastle.asn1.DEREncodable;
 
4
import org.bouncycastle.asn1.DERObject;
 
5
 
 
6
/**
 
7
 * @deprecated use ASN1Dump.
 
8
 */
 
9
public class DERDump
 
10
    extends ASN1Dump
 
11
{
 
12
    /**
 
13
     * dump out a DER object as a formatted string
 
14
     *
 
15
     * @param obj the DERObject to be dumped out.
 
16
     */
 
17
    public static String dumpAsString(
 
18
        DERObject   obj)
 
19
    {
 
20
        return _dumpAsString("", obj);
 
21
    }
 
22
 
 
23
    /**
 
24
     * dump out a DER object as a formatted string
 
25
     *
 
26
     * @param obj the DERObject to be dumped out.
 
27
     */
 
28
    public static String dumpAsString(
 
29
        DEREncodable   obj)
 
30
    {
 
31
        return _dumpAsString("", obj.getDERObject());
 
32
    }
 
33
}