com.aliyun.oss.crypto

## 类 CryptoModuleDispatcher

- java.lang.Object
- - com.aliyun.oss.crypto.CryptoModuleDispatcher

- 所有已实现的接口:
    CryptoModule

      public class CryptoModuleDispatcher
      extends Object
      implements CryptoModule

  A proxy cryptographic module used to dispatch method calls to the appropriate underlying cryptographic module depending on the current configuration.

- - ### 构造器概要

    构造器
    构造器和说明
    `CryptoModuleDispatcher(OSSDirect ossDirect, EncryptionMaterials encryptionMaterials, CryptoConfiguration cryptoConfig)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `OSSObject` | `getObjectSecurely(GetObjectRequest req)`
    `ObjectMetadata` | `getObjectSecurely(GetObjectRequest req, File file)`
    `InitiateMultipartUploadResult` | `initiateMultipartUploadSecurely(InitiateMultipartUploadRequest request, MultipartUploadCryptoContext context)`
    `PutObjectResult` | `putObjectSecurely(PutObjectRequest putObjectRequest)`
    `UploadPartResult` | `uploadPartSecurely(UploadPartRequest request, MultipartUploadCryptoContext context)`

    - ### 从类继承的方法 java.lang.Object

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

- - ### 构造器详细资料

    - #### CryptoModuleDispatcher

          public CryptoModuleDispatcher(OSSDirect ossDirect,
                                EncryptionMaterials encryptionMaterials,
                                CryptoConfiguration cryptoConfig)

  - ### 方法详细资料

    - #### putObjectSecurely

          public PutObjectResult putObjectSecurely(PutObjectRequest putObjectRequest)

      指定者:
        `putObjectSecurely` 在接口中 `CryptoModule`

    - #### getObjectSecurely

          public OSSObject getObjectSecurely(GetObjectRequest req)

      指定者:
        `getObjectSecurely` 在接口中 `CryptoModule`

    - #### getObjectSecurely

          public ObjectMetadata getObjectSecurely(GetObjectRequest req,
                                         File file)

      指定者:
        `getObjectSecurely` 在接口中 `CryptoModule`

    - #### initiateMultipartUploadSecurely

          public InitiateMultipartUploadResult initiateMultipartUploadSecurely(InitiateMultipartUploadRequest request,
                                                                      MultipartUploadCryptoContext context)

      指定者:
        `initiateMultipartUploadSecurely` 在接口中 `CryptoModule`

    - #### uploadPartSecurely

          public UploadPartResult uploadPartSecurely(UploadPartRequest request,
                                            MultipartUploadCryptoContext context)

      指定者:
        `uploadPartSecurely` 在接口中 `CryptoModule`

Copyright © 2020. All Rights Reserved.