Package org.bouncycastle.crypto
Class CryptoServicesPermission
- java.lang.Object
-
- java.security.Permission
-
- org.bouncycastle.crypto.CryptoServicesPermission
-
- All Implemented Interfaces:
java.io.Serializable,java.security.Guard
public class CryptoServicesPermission extends java.security.PermissionPermissions that need to be configured if a SecurityManager is used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_RANDOMEnable the setting of the default SecureRandom.static java.lang.StringGLOBAL_CONFIGEnable the setting of global configuration properties.static java.lang.StringTHREAD_LOCAL_CONFIGEnable the setting of thread local configuration properties.
-
Constructor Summary
Constructors Constructor Description CryptoServicesPermission(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetActions()inthashCode()booleanimplies(java.security.Permission permission)
-
-
-
Field Detail
-
GLOBAL_CONFIG
public static final java.lang.String GLOBAL_CONFIG
Enable the setting of global configuration properties. This permission implies THREAD_LOCAL_CONFIG- See Also:
- Constant Field Values
-
THREAD_LOCAL_CONFIG
public static final java.lang.String THREAD_LOCAL_CONFIG
Enable the setting of thread local configuration properties.- See Also:
- Constant Field Values
-
DEFAULT_RANDOM
public static final java.lang.String DEFAULT_RANDOM
Enable the setting of the default SecureRandom.- See Also:
- Constant Field Values
-
-
Method Detail
-
implies
public boolean implies(java.security.Permission permission)
- Specified by:
impliesin classjava.security.Permission
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin classjava.security.Permission
-
hashCode
public int hashCode()
- Specified by:
hashCodein classjava.security.Permission
-
getActions
public java.lang.String getActions()
- Specified by:
getActionsin classjava.security.Permission
-
-