DERDump.java
Upload User: lior1029
Upload Date: 2013-05-07
Package Size: 209k
Code Size: 1k
Category:

CA program

Development Platform:

Java

  1. package org.bouncycastle.asn1.util;
  2. import java.util.*;
  3. import org.bouncycastle.asn1.*;
  4. /**
  5.  * @deprecated use ASN1Dump.
  6.  */
  7. public class DERDump
  8.     extends ASN1Dump
  9. {
  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(
  16.         DERObject   obj)
  17.     {
  18.         return _dumpAsString("", obj);
  19.     }
  20.     /**
  21.      * dump out a DER object as a formatted string
  22.      *
  23.      * @param obj the DERObject to be dumped out.
  24.      */
  25.     public static String dumpAsString(
  26.         DEREncodable   obj)
  27.     {
  28.         return _dumpAsString("", obj.getDERObject());
  29.     }
  30. }