com.obs.services.model

## 类 SseCHeader

- java.lang.Object
- - com.obs.services.model.SseCHeader

-     public class SseCHeader
      extends Object

  SSE-C encryption/decryption headers

- - ### 构造器概要

    构造器
    构造器和说明
    `SseCHeader()`

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ServerAlgorithm` | `getAlgorithm()` 已过时。
    `SSEAlgorithmEnum` | `getSSEAlgorithm()` Obtain the encryption algorithm type.
    `byte[]` | `getSseCKey()` Obtain the key used in the SSE-C mode.
    `String` | `getSseCKeyBase64()` Obtain the key used in the SSE-C mode.
    `void` | `setAlgorithm(ServerAlgorithm algorithm)` 已过时。
    `void` | `setSseCKey(byte[] sseCKey)` Set the key used in the SSE-C mode.
    `void` | `setSseCKey(String sseCKey)` 已过时。
    `void` | `setSseCKeyBase64(String sseCKeyBase64)` Set the key used in the SSE-C mode.
    `String` | `toString()`

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

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

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

    - #### SseCHeader

          public SseCHeader()

  - ### 方法详细资料

    - #### getAlgorithm

          @Deprecated
          public ServerAlgorithm getAlgorithm()

      已过时。
      Obtain the encryption algorithm type. Only AES256 is supported. This parameter must be used together with "sseCKey."
      返回:
        Encryption algorithm type

    - #### setAlgorithm

          @Deprecated
          public void setAlgorithm(ServerAlgorithm algorithm)

      已过时。
      Set the encryption algorithm type. Only AES256 is supported. This parameter must be used together with "sseCKey."
      参数:
        `algorithm` - Encryption algorithm type

    - #### getSSEAlgorithm

          public SSEAlgorithmEnum getSSEAlgorithm()

      Obtain the encryption algorithm type. Only AES256 is supported. This parameter must be used together with "sseCKey".
      返回:
        Encryption algorithm type

    - #### getSseCKey

          public byte[] getSseCKey()

      Obtain the key used in the SSE-C mode. The key is used to encrypt and decrypt an object. The value is not encoded using Base64.
      返回:
        Key used in the SSE-C mode

    - #### setSseCKey

          @Deprecated
          public void setSseCKey(String sseCKey)

      已过时。
      Set the key used in the SSE-C mode. The key is used to encrypt and decrypt an object. The value is not encoded using Base64.
      参数:
        `sseCKey` - Key used in the SSE-C mode. The key is used to encrypt and decrypt an object.

    - #### setSseCKey

          public void setSseCKey(byte[] sseCKey)

      Set the key used in the SSE-C mode. The key is used to encrypt and decrypt an object. The value is not encoded using Base64.
      参数:
        `sseCKey` - Key used in the SSE-C mode. The key is used to encrypt and decrypt an object.

    - #### getSseCKeyBase64

          public String getSseCKeyBase64()

      Obtain the key used in the SSE-C mode. The key is used to encrypt and decrypt an object. The value is a Base64-encoded value.
      返回:
        Key used in the SSE-C mode

    - #### setSseCKeyBase64

          public void setSseCKeyBase64(String sseCKeyBase64)

      Set the key used in the SSE-C mode. The key is used to encrypt and decrypt an object. The value is a Base64-encoded value.
      参数:
        `sseCKeyBase64` - Key used in the SSE-C mode. The key is used to encrypt and decrypt an object.

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`

Copyright © 2021. All rights reserved.