com.aliyun.oss.crypto

## 接口 EncryptionMaterials

- 所有已知实现类:
    KmsEncryptionMaterials, SimpleRSAEncryptionMaterials

      public interface EncryptionMaterials

  EncryptionMaterials is an interface used to implement different encrypt/decrypt content materials providers.

- - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `decryptCEK(ContentCryptoMaterialRW contentMaterial)` Decrypt the secured cek and secured iv and put the result into the given `ContentCryptoMaterialRW` instance
    `void` | `encryptCEK(ContentCryptoMaterialRW contentMaterial)` Encrypt the cek and iv and put the result into the given `ContentCryptoMaterialRW` instance.

- - ### 方法详细资料

    - #### encryptCEK

          void encryptCEK(ContentCryptoMaterialRW contentMaterial)

      Encrypt the cek and iv and put the result into the given `ContentCryptoMaterialRW` instance.
      参数:
        `contentMaterial` - The materials that contans the content crypto info.

    - #### decryptCEK

          void decryptCEK(ContentCryptoMaterialRW contentMaterial)

      Decrypt the secured cek and secured iv and put the result into the given `ContentCryptoMaterialRW` instance
      参数:
        `contentMaterial` - The materials that contans the content crypto info.

Copyright © 2020. All Rights Reserved.