com.amazonaws.services.s3.model

## クラス CryptoConfiguration

- java.lang.Object
- - com.amazonaws.services.s3.model.CryptoConfiguration

-     public class CryptoConfiguration
      extends java.lang.Object

  Stores configuration parameters that will be used during encryption and decryption by the Amazon S3 Encryption Client. With this object, you can set the encryption client to use Instruction Files or Object Metadata for storing encryption information. You can also specify your own crypto provider to be used during encryption and decryption.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `CryptoConfiguration()` Creates a new CryptoConfiguration object with default storage mode and crypto provider settings.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.security.Provider` | `getCryptoProvider()` Returns the crypto provider whose encryption implementation will be used to encrypt and decrypt data.
    `CryptoStorageMode` | `getStorageMode()` Returns the current storage mode of a CryptoConfiguration object.
    `void` | `setCryptoProvider(java.security.Provider cryptoProvider)` Sets the crypto provider to the specified provider.
    `void` | `setStorageMode(CryptoStorageMode storageMode)` Sets the storage mode to the specified mode.
    `CryptoConfiguration` | `withCryptoProvider(java.security.Provider cryptoProvider)` Sets the crypto provider to the specified provider, and returns the updated CryptoConfiguration object.
    `CryptoConfiguration` | `withStorageMode(CryptoStorageMode storageMode)` Sets the storage mode to the specified mode, and returns the updated CryptoConfiguration object.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### CryptoConfiguration

          public CryptoConfiguration()

      Creates a new CryptoConfiguration object with default storage mode and crypto provider settings. The default storage mode is the Object Metadata storage mode, and the default crypto provider is the JCE provider.

  - ### メソッドの詳細

    - #### setStorageMode

          public void setStorageMode(CryptoStorageMode storageMode)

      Sets the storage mode to the specified mode.
      パラメータ:
        `storageMode` - The storage mode to be used for storing encryption information.

    - #### withStorageMode

          public CryptoConfiguration withStorageMode(CryptoStorageMode storageMode)

      Sets the storage mode to the specified mode, and returns the updated CryptoConfiguration object.
      パラメータ:
        `storageMode` - The storage mode to be used for storing encryption information.
      戻り値:
        The updated CryptoConfiguration object.

    - #### getStorageMode

          public CryptoStorageMode getStorageMode()

      Returns the current storage mode of a CryptoConfiguration object.
      戻り値:
        The storage mode to be used for storing encryption information.

    - #### setCryptoProvider

          public void setCryptoProvider(java.security.Provider cryptoProvider)

      Sets the crypto provider to the specified provider.
      パラメータ:
        `cryptoProvider` - The crypto provider whose encryption implementation will be used to encrypt and decrypt data.

    - #### withCryptoProvider

          public CryptoConfiguration withCryptoProvider(java.security.Provider cryptoProvider)

      Sets the crypto provider to the specified provider, and returns the updated CryptoConfiguration object.
      パラメータ:
        `cryptoProvider` - The crypto provider whose encryption implementation will be used to encrypt and decrypt data.
      戻り値:
        The updated CryptoConfiguration object.

    - #### getCryptoProvider

          public java.security.Provider getCryptoProvider()

      Returns the crypto provider whose encryption implementation will be used to encrypt and decrypt data.
      戻り値:
        the crypto provider whose encryption implementation will be used to encrypt and decrypt data.