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

CA认证

开发平台:

Java

  1. package org.bouncycastle.asn1.x509;
  2. import org.bouncycastle.asn1.*;
  3. public class CRLReason
  4.     extends DEREnumerated
  5. {
  6.     public static final int UNSPECIFIED = 0;
  7.     public static final int KEY_COMPROMISE = 1;
  8.     public static final int CA_COMPROMISE = 2;
  9.     public static final int AFFILIATION_CHANGED = 3;
  10.     public static final int SUPERSEDED = 4;
  11.     public static final int CESSATION_OF_OPERATION  = 5;
  12.     public static final int CERTIFICATE_HOLD = 6;
  13.     public static final int REMOVE_FROM_CRL = 8;
  14.     public static final int PRIVILEGE_WITHDRAWN = 9;
  15.     public static final int AA_COMPROMISE = 10;
  16.     /**
  17.      * <pre>
  18.      * CRLReason ::= ENUMERATED {
  19.      *  unspecified             (0),
  20.      *  keyCompromise           (1),
  21.      *  cACompromise            (2),
  22.      *  affiliationChanged      (3),
  23.      *  superseded              (4),
  24.      *  cessationOfOperation    (5),
  25.      *  certificateHold         (6),
  26.      *  removeFromCRL           (8),
  27.      *  privilegeWithdrawn      (9),
  28.      *  aACompromise           (10)
  29.      * }
  30.      * </pre>
  31.      */
  32.     public CRLReason(
  33.         int reason)
  34.     {
  35.         super(reason);
  36.     }
  37. }