CISODebug.java
上传用户:lior1029
上传日期:2013-05-07
资源大小:209k
文件大小:1k
源码类别:

CA认证

开发平台:

Java

  1. package org.infosecurity.cryptography;
  2. /**
  3.  * <p>Title: Light Weight APIs for crypto </p>
  4.  * <p>Description: </p>
  5.  * <p>Copyright: Copyright (c) 2003</p>
  6.  * <p>Company: ciso </p>
  7.  */
  8. import org.bouncycastle.asn1.util.*;
  9. import org.bouncycastle.asn1.*;
  10. public class CISODebug {
  11.     public CISODebug() {
  12.     }
  13.     public static void dump(String name,ASN1Sequence seq)
  14.     {
  15.         String dump = DERDump.dumpAsString(seq);
  16.         // 调试输出语句
  17.         System.out.println(name+":"+dump);
  18.     }
  19.     public static void main(String[] args) {
  20.         CISODebug CISODebug1 = new CISODebug();
  21.     }
  22. }