类 SseCHeader
java.lang.Object
com.obs.services.model.SseCHeader
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明已过时。Obtain the encryption algorithm type.byte[]Obtain the key used in the SSE-C mode.Obtain the key used in the SSE-C mode.voidsetAlgorithm(ServerAlgorithm algorithm) 已过时。voidsetSseCKey(byte[] sseCKey) Set the key used in the SSE-C mode.voidsetSseCKey(String sseCKey) 已过时。voidsetSseCKeyBase64(String sseCKeyBase64) Set the key used in the SSE-C mode.toString()
-
构造器详细资料
-
SseCHeader
public SseCHeader()
-
-
方法详细资料
-
getAlgorithm
已过时。Obtain the encryption algorithm type. Only AES256 is supported. This parameter must be used together with "sseCKey."- 返回:
- Encryption algorithm type
-
setAlgorithm
已过时。Set the encryption algorithm type. Only AES256 is supported. This parameter must be used together with "sseCKey."- 参数:
algorithm- Encryption algorithm type
-
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
已过时。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
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
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
-