com.amazonaws.services.s3.internal.crypto

## クラス EncryptionInstruction

- java.lang.Object
- - com.amazonaws.services.s3.internal.crypto.EncryptionInstruction

-     public class EncryptionInstruction
      extends java.lang.Object

  Contains information used to encrypt and decrypt objects in S3.

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

    コンストラクタ
    コンストラクタと説明
    `EncryptionInstruction(java.util.Map<java.lang.String,java.lang.String> materialsDescription, byte[] encryptedSymmetricKey, javax.crypto.SecretKey symmetricKey, javax.crypto.Cipher symmetricCipher)` Construct a new EncryptionInstruction object with the provided fields.
    `EncryptionInstruction(java.util.Map<java.lang.String,java.lang.String> materialsDescription, byte[] encryptedSymmetricKey, javax.crypto.SecretKey symmetricKey, CipherFactory symmetricCipherFactory)`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `CipherFactory` | `getCipherFactory()`
    `byte[]` | `getEncryptedSymmetricKey()` Returns an array of bytes representing the encrypted envelope symmetric key.
    `java.util.Map<java.lang.String,java.lang.String>` | `getMaterialsDescription()` Returns the description of the encryption materials that were used to encrypt the envelope symmetric key.
    `javax.crypto.Cipher` | `getSymmetricCipher()` Returns the symmetric cipher created with the envelope symmetric key.
    `javax.crypto.SecretKey` | `getSymmetricKey()` Returns the envelope symmetric key.

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

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

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

    - #### EncryptionInstruction

          public EncryptionInstruction(java.util.Map<java.lang.String,java.lang.String> materialsDescription,
                               byte[] encryptedSymmetricKey,
                               javax.crypto.SecretKey symmetricKey,
                               javax.crypto.Cipher symmetricCipher)

      Construct a new EncryptionInstruction object with the provided fields.
      パラメータ:
        `materialsDescription` - The description of the encryption materials that were used to encrypt the envelope symmetric key.
        `encryptedSymmetricKey` - A byte[] array representing an encrypted envelope symmetric key.
        `symmetricKey` - The symmetric key used to create the cipher that will encrypt the object data.
        `symmetricCipher` - The symmetric cipher that will encrypt the object data.

    - #### EncryptionInstruction

          public EncryptionInstruction(java.util.Map<java.lang.String,java.lang.String> materialsDescription,
                               byte[] encryptedSymmetricKey,
                               javax.crypto.SecretKey symmetricKey,
                               CipherFactory symmetricCipherFactory)

  - ### メソッドの詳細

    - #### getCipherFactory

          public CipherFactory getCipherFactory()

    - #### getMaterialsDescription

          public java.util.Map<java.lang.String,java.lang.String> getMaterialsDescription()

      Returns the description of the encryption materials that were used to encrypt the envelope symmetric key.
      戻り値:
        the description of the encryption materials that were used to encrypt the envelope symmetric key.

    - #### getEncryptedSymmetricKey

          public byte[] getEncryptedSymmetricKey()

      Returns an array of bytes representing the encrypted envelope symmetric key.
      戻り値:
        an array of bytes representing the encrypted envelope symmetric key.

    - #### getSymmetricKey

          public javax.crypto.SecretKey getSymmetricKey()

      Returns the envelope symmetric key.
      戻り値:
        the envelope symmetric key.

    - #### getSymmetricCipher

          public javax.crypto.Cipher getSymmetricCipher()

      Returns the symmetric cipher created with the envelope symmetric key.
      戻り値:
        the symmetric cipher created with the envelope symmetric key.