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