public abstract class SSEResultBase extends Object implements ServerSideEncryptionResult
| 构造器和说明 |
|---|
SSEResultBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getServerSideEncryption()
已过时。
Replaced by
getSSEAlgorithm() |
String |
getSSEAlgorithm()
Returns the server-side encryption algorithm if the object is encrypted
using COS-managed keys.
|
String |
getSSECustomerAlgorithm()
Returns the server-side encryption algorithm if the object is encrypted
using customer-provided keys.
|
String |
getSSECustomerKeyMd5()
Returns the base64-encoded MD5 digest of the encryption key for
server-side encryption, if the object is encrypted using
customer-provided keys.
|
void |
setSSEAlgorithm(String algorithm)
Sets the server-side encryption algorithm for the response.
|
void |
setSSECustomerAlgorithm(String algorithm)
Sets the server-side encryption algorithm used when encrypting the object
with customer-provided keys.
|
void |
setSSECustomerKeyMd5(String md5)
Sets the base64-encoded MD5 digest of the encryption key for server-side
encryption.
|
public final String getSSEAlgorithm()
ServerSideEncryptionResultgetSSEAlgorithm 在接口中 ServerSideEncryptionResultpublic final void setSSEAlgorithm(String algorithm)
ServerSideEncryptionResultsetSSEAlgorithm 在接口中 ServerSideEncryptionResultalgorithm - The server-side encryption algorithm for the response.public final String getSSECustomerAlgorithm()
ServerSideEncryptionResultpublic final void setSSECustomerAlgorithm(String algorithm)
ServerSideEncryptionResultsetSSECustomerAlgorithm 在接口中 ServerSideEncryptionResultalgorithm - The server-side encryption algorithm used when encrypting the
object with customer-provided keys.public final String getSSECustomerKeyMd5()
ServerSideEncryptionResultpublic final void setSSECustomerKeyMd5(String md5)
ServerSideEncryptionResultsetSSECustomerKeyMd5 在接口中 ServerSideEncryptionResultmd5 - The base64-encoded MD5 digest of the encryption key for
server-side encryption.@Deprecated public final String getServerSideEncryption()
getSSEAlgorithm()Copyright © 2017. All rights reserved.