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:
  • Field Details

    • FIPS_EXPORT_KEYS

      public static final String 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

      public static final String 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

      public static final String FIPS_MODE_UNAPPROVED_MODE_ENABLED
      Enable unapproved mode as the default.
      See Also:
    • FIPS_MODE_CHANGE_TO_APPROVED_MODE_ENABLED

      public static final String FIPS_MODE_CHANGE_TO_APPROVED_MODE_ENABLED
      Enable a thread to change its state into approved mode.
      See Also:
    • FIPS_MODE_EXPORT_PRIVATE_KEY

      public static final String FIPS_MODE_EXPORT_PRIVATE_KEY
      Enable the export of a private key from the jar.
      See Also:
    • FIPS_MODE_EXPORT_SECRET_KEY

      public static final String FIPS_MODE_EXPORT_SECRET_KEY
      Enable the export of a secret key from the jar.
      See Also:
    • FIPS_MODE_TLS_NULL_DIGEST_ENABLED

      public static final String 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

      public static final String 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

      public static final String GLOBAL_CONFIG
      Enable the setting of global configuration properties. This permission implies THREAD_LOCAL_CONFIG
      See Also:
    • THREAD_LOCAL_CONFIG

      public static final String THREAD_LOCAL_CONFIG
      Enable the setting of thread local configuration properties.
      See Also:
    • DEFAULT_RANDOM

      public static final String DEFAULT_RANDOM
      Enable the setting of the default SecureRandom.
      See Also:
  • Constructor Details

    • CryptoServicesPermission

      public CryptoServicesPermission(String name)
  • Method Details