1 17 18 package org.apache.geronimo.util.asn1.x509; 19 20 import org.apache.geronimo.util.asn1.DEREnumerated; 21 22 39 public class CRLReason 40 extends DEREnumerated 41 { 42 45 public static final int UNSPECIFIED = 0; 46 49 public static final int KEY_COMPROMISE = 1; 50 53 public static final int CA_COMPROMISE = 2; 54 57 public static final int AFFILIATION_CHANGED = 3; 58 61 public static final int SUPERSEDED = 4; 62 65 public static final int CESSATION_OF_OPERATION = 5; 66 69 public static final int CERTIFICATE_HOLD = 6; 70 73 public static final int REMOVE_FROM_CRL = 8; 74 77 public static final int PRIVILEGE_WITHDRAWN = 9; 78 81 public static final int AA_COMPROMISE = 10; 82 83 public static final int unspecified = 0; 84 public static final int keyCompromise = 1; 85 public static final int cACompromise = 2; 86 public static final int affiliationChanged = 3; 87 public static final int superseded = 4; 88 public static final int cessationOfOperation = 5; 89 public static final int certificateHold = 6; 90 public static final int removeFromCRL = 8; 91 public static final int privilegeWithdrawn = 9; 92 public static final int aACompromise = 10; 93 94 public CRLReason( 95 int reason) 96 { 97 super(reason); 98 } 99 100 public CRLReason( 101 DEREnumerated reason) 102 { 103 super(reason.getValue().intValue()); 104 } 105 } 106 | Popular Tags |