Package org.bouncycastle.crypto
Class CryptoServicesPermission
java.lang.Object
java.security.Permission
org.bouncycastle.crypto.CryptoServicesPermission
- All Implemented Interfaces:
Serializable
,Guard
Permissions that need to be configured if a SecurityManager is used.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Enable the setting of the default SecureRandom.static final String
Allow a caller to export secret/private keys to be from the jar.static final String
Enable a thread to change its state into approved mode.static final String
Enable the export of a private key from the jar.static final String
Enable the export of a secret key from the jar.static final String
Enable support for signature algorithms that can take an actual digest as an argument, rather than message to be digested.static final String
Enable support for PKCS 1.5 RSA encryption to be used for key wrapping.static final String
Enable unapproved mode as the default.static final String
Enable full TLS support for providers like the JSSE.static final String
Enable the setting of global configuration properties.static final String
Enable the setting of thread local configuration properties. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.security.Permission
checkGuard, getName, newPermissionCollection, toString
-
Field Details
-
FIPS_EXPORT_KEYS
Allow a caller to export secret/private keys to be from the jar. This permission enables both FIPS_MODE_EXPORT_PRIVATE_KEY and FIPS_MODE_EXPORT_SECRET_KEY.- See Also:
-
FIPS_TLS_ALGORITHMS_ENABLED
Enable full TLS support for providers like the JSSE. This permission enables FIPS_MODE_TLS_ECDH_ENABLED and FIPS_MODE_TLS_PKCS15_KEY_WRAP_ENABLED.- See Also:
-
FIPS_MODE_UNAPPROVED_MODE_ENABLED
Enable unapproved mode as the default.- See Also:
-
FIPS_MODE_CHANGE_TO_APPROVED_MODE_ENABLED
Enable a thread to change its state into approved mode.- See Also:
-
FIPS_MODE_EXPORT_PRIVATE_KEY
Enable the export of a private key from the jar.- See Also:
-
FIPS_MODE_EXPORT_SECRET_KEY
Enable the export of a secret key from the jar.- See Also:
-
FIPS_MODE_TLS_NULL_DIGEST_ENABLED
Enable support for signature algorithms that can take an actual digest as an argument, rather than message to be digested.- See Also:
-
FIPS_MODE_TLS_PKCS15_KEY_WRAP_ENABLED
Enable support for PKCS 1.5 RSA encryption to be used for key wrapping.- See Also:
-
GLOBAL_CONFIG
Enable the setting of global configuration properties. This permission implies THREAD_LOCAL_CONFIG- See Also:
-
THREAD_LOCAL_CONFIG
Enable the setting of thread local configuration properties.- See Also:
-
DEFAULT_RANDOM
Enable the setting of the default SecureRandom.- See Also:
-
-
Constructor Details
-
CryptoServicesPermission
-
-
Method Details
-
implies
- Specified by:
implies
in classPermission
-
equals
- Specified by:
equals
in classPermission
-
hashCode
public int hashCode()- Specified by:
hashCode
in classPermission
-
getActions
- Specified by:
getActions
in classPermission
-