org.bouncycastle.crypto
Class CryptoServicesPermission
java.lang.Object
|
+--java.security.Permission
|
+--org.bouncycastle.crypto.CryptoServicesPermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public class CryptoServicesPermission
- extends java.security.Permission
Permissions that need to be configured if a SecurityManager is used.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
CONSTRAINTS
Enable the setting of the constraints. |
static java.lang.String |
DEFAULT_RANDOM
Enable the setting of the default SecureRandom. |
static java.lang.String |
GLOBAL_CONFIG
Enable the setting of global configuration properties. |
static java.lang.String |
THREAD_LOCAL_CONFIG
Enable the setting of thread local configuration properties. |
Methods inherited from class java.security.Permission |
checkGuard, getName, newPermissionCollection, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GLOBAL_CONFIG
public static final java.lang.String GLOBAL_CONFIG
- Enable the setting of global configuration properties. This permission implies THREAD_LOCAL_CONFIG
THREAD_LOCAL_CONFIG
public static final java.lang.String THREAD_LOCAL_CONFIG
- Enable the setting of thread local configuration properties.
DEFAULT_RANDOM
public static final java.lang.String DEFAULT_RANDOM
- Enable the setting of the default SecureRandom.
CONSTRAINTS
public static final java.lang.String CONSTRAINTS
- Enable the setting of the constraints.
CryptoServicesPermission
public CryptoServicesPermission(java.lang.String name)
implies
public boolean implies(java.security.Permission permission)
- Overrides:
implies
in class java.security.Permission
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.security.Permission
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.security.Permission
getActions
public java.lang.String getActions()
- Overrides:
getActions
in class java.security.Permission