1 package org.ejbca.core.model.ra; 2 3 import java.util.HashMap ; 4 5 public class UserDataConstants { 6 8 public static final int STATUS_NEW = 10; public static final int STATUS_FAILED = 11; public static final int STATUS_INITIALIZED = 20; public static final int STATUS_INPROCESS = 30; public static final int STATUS_GENERATED = 40; public static final int STATUS_REVOKED = 50; public static final int STATUS_HISTORICAL = 60; public static final int STATUS_KEYRECOVERY = 70; 17 public static final HashMap STATUS_TEXT = new HashMap (); 18 19 static { 20 STATUS_TEXT.put(new Integer (STATUS_NEW),"STATUSNEW"); 21 STATUS_TEXT.put(new Integer (STATUS_FAILED),"STATUSFAILED"); 22 STATUS_TEXT.put(new Integer (STATUS_INITIALIZED),"STATUSINITIALIZED"); 23 STATUS_TEXT.put(new Integer (STATUS_INPROCESS),"STATUSINPROCESS"); 24 STATUS_TEXT.put(new Integer (STATUS_GENERATED),"STATUSGENERATED"); 25 STATUS_TEXT.put(new Integer (STATUS_REVOKED),"STATUSREVOKED"); 26 STATUS_TEXT.put(new Integer (STATUS_HISTORICAL),"STATUSHISTORICAL"); 27 STATUS_TEXT.put(new Integer (STATUS_KEYRECOVERY),"STATUSKEYRECOVERY"); 28 } 29 30 31 } 32 | Popular Tags |