Package org.bouncycastle.crypto
Class CryptoServicesPermission
- java.lang.Object
-
- java.security.Permission
-
- org.bouncycastle.crypto.CryptoServicesPermission
-
- All Implemented Interfaces:
Serializable
,Guard
public class CryptoServicesPermission extends Permission
Permissions that need to be configured if a SecurityManager is used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_RANDOM
Enable the setting of the default SecureRandom.static String
GLOBAL_CONFIG
Enable the setting of global configuration properties.static String
THREAD_LOCAL_CONFIG
Enable the setting of thread local configuration properties.
-
Constructor Summary
Constructors Constructor Description CryptoServicesPermission(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getActions()
int
hashCode()
boolean
implies(Permission permission)
-
Methods inherited from class java.security.Permission
checkGuard, getName, newPermissionCollection, toString
-
-
-
-
Field Detail
-
GLOBAL_CONFIG
public static final 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 String THREAD_LOCAL_CONFIG
Enable the setting of thread local configuration properties.- See Also:
- Constant Field Values
-
DEFAULT_RANDOM
public static final String DEFAULT_RANDOM
Enable the setting of the default SecureRandom.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CryptoServicesPermission
public CryptoServicesPermission(String name)
-
-
Method Detail
-
implies
public boolean implies(Permission permission)
- Specified by:
implies
in classPermission
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classPermission
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classPermission
-
getActions
public String getActions()
- Specified by:
getActions
in classPermission
-
-