1 13 14 package org.ejbca.core.model; 15 16 30 public class SecConst extends Object { 31 33 34 public static final int USER_INVALID = 0x0; 35 36 37 public static final int USER_ENDUSER = 0x1; 38 39 40 public static final int USER_ADMINISTRATOR = 0x40; 41 42 43 public static final int USER_KEYRECOVERABLE = 0x80; 44 45 46 public static final int USER_SENDNOTIFICATION = 0x100; 47 48 49 public static final int USER_PRINT = 0x200; 50 51 52 54 55 public static final int TOKEN_SOFT_BROWSERGEN = 1; 56 57 58 public static final int TOKEN_SOFT_P12 = 2; 59 60 61 public static final int TOKEN_SOFT_JKS = 3; 62 63 64 public static final int TOKEN_SOFT_PEM = 4; 65 66 67 public static final int TOKEN_SOFT = 100; 68 69 public static final String [] TOKENTEXTS = {"TOKENSOFTBROWSERGEN","TOKENSOFTP12","TOKENSOFTJKS","TOKENSOFTPEM"}; 70 71 public static final int[] TOKENIDS = {SecConst.TOKEN_SOFT_BROWSERGEN,SecConst.TOKEN_SOFT_P12,SecConst.TOKEN_SOFT_JKS,SecConst.TOKEN_SOFT_PEM}; 72 73 74 public static final int TOKEN_HARD_DEFAULT = 101; 75 76 79 public static final int TOKEN_EID = 102; 80 81 82 public static final int TOKEN_SWEDISHEID = 103; 83 84 85 public static final int TOKEN_ENHANCEDEID = 104; 86 87 88 public static final int TOKEN_TURKISHEID = 105; 89 90 92 public static final int NO_HARDTOKENISSUER = 0; 93 94 public static final int CERTPROFILE_FIXED_ENDUSER = 1; 95 public static final int CERTPROFILE_FIXED_SUBCA = 2; 96 public static final int CERTPROFILE_FIXED_ROOTCA = 3; 97 public static final int CERTPROFILE_FIXED_OCSPSIGNER = 4; 98 public static final int CERTPROFILE_FIXED_HARDTOKENAUTH = 5; 99 public static final int CERTPROFILE_FIXED_HARDTOKENAUTHENC= 6; 100 public static final int CERTPROFILE_FIXED_HARDTOKENENC = 7; 101 public static final int CERTPROFILE_FIXED_HARDTOKENSIGN = 8; 102 103 public static final int EMPTY_ENDENTITYPROFILE = 1; 104 105 public static final int ALLCAS = 1; 106 107 111 public static final int FIXED_CERTIFICATEPROFILE_BOUNDRY = 1000; 112 public static final int PROFILE_NO_PROFILE = 0; 113 114 115 118 public static final int CAID_USEUSERDEFINED = 0; 119 120 121 public static final int MAXIMUM_QUERY_ROWCOUNT = 100; 122 123 124 125 public static final int CA_ACTIVE = 1; 126 public static final int CA_WAITING_CERTIFICATE_RESPONSE = 2; 127 public static final int CA_EXPIRED = 3; 128 public static final int CA_REVOKED = 4; 129 public static final int CA_OFFLINE = 5; 130 public static final int CA_EXTERNAL = 6; 131 132 public static final int CAKEYPURPOSE_CERTSIGN = 1; 133 public static final int CAKEYPURPOSE_CRLSIGN = 2; 134 public static final int CAKEYPURPOSE_KEYENCRYPT = 3; 135 public static final int CAKEYPURPOSE_KEYTEST = 4; 136 137 140 private SecConst() { 141 } 142 } 143 144 145 | Popular Tags |