Package org.xipki.util
Class PermissionConstants
- java.lang.Object
-
- org.xipki.util.PermissionConstants
-
public class PermissionConstants extends Object
CA permission constants.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Field Summary
Fields Modifier and Type Field Description static intALLstatic intENROLL_CERTstatic intENROLL_CROSSstatic intGEN_CRLDeprecated.static intGEN_KEYPAIRstatic intGET_CERTstatic intGET_CRLstatic intREENROLL_CERTstatic intREMOVE_CERTstatic intREVOKE_CERTstatic intUNSUSPEND_CERT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancontains(int permissionA, int permissionB)static IntegergetPermissionForText(String text)static List<Integer>getPermissions()static StringgetTextForCode(int code)static StringpermissionToString(int permission)static List<String>permissionToStringSet(int permission)
-
-
-
Field Detail
-
ENROLL_CERT
public static final int ENROLL_CERT
- See Also:
- Constant Field Values
-
REVOKE_CERT
public static final int REVOKE_CERT
- See Also:
- Constant Field Values
-
UNSUSPEND_CERT
public static final int UNSUSPEND_CERT
- See Also:
- Constant Field Values
-
REMOVE_CERT
public static final int REMOVE_CERT
- See Also:
- Constant Field Values
-
REENROLL_CERT
public static final int REENROLL_CERT
- See Also:
- Constant Field Values
-
GEN_CRL
@Deprecated public static final int GEN_CRL
Deprecated.- See Also:
- Constant Field Values
-
GET_CRL
public static final int GET_CRL
- See Also:
- Constant Field Values
-
ENROLL_CROSS
public static final int ENROLL_CROSS
- See Also:
- Constant Field Values
-
GEN_KEYPAIR
public static final int GEN_KEYPAIR
- See Also:
- Constant Field Values
-
GET_CERT
public static final int GET_CERT
- See Also:
- Constant Field Values
-
ALL
public static final int ALL
- See Also:
- Constant Field Values
-
-