Updated on 2023-03-21 GMT+08:00

Encryption Description

The following table lists APIs related to server-side encryption:

API Method in OBS iOS SDK

Description

Supported Encryption Type

putObject

Sets the encryption algorithm and key during object upload to enable server-side encryption.

SSE-KMS, SSE-C

getObject

Sets the decryption algorithm and key during object upload to decrypt the object.

SSE-C

copyObject

  1. Sets the decryption algorithm and key for decrypting the source object during object copy.
  2. Sets the encryption algorithm and key during object copy to enable the encryption algorithm for the target object.

SSE-KMS, SSE-C

getObjectMetadata

Sets the decryption algorithm and key when obtaining the object metadata to decrypt the object.

SSE-C

initiateMultipartUpload

Sets the encryption algorithm and key when initializing a multipart upload to enable server-side encryption for the final object generated.

SSE-KMS, SSE-C

uploadPart

Sets the encryption algorithm and key during multipart upload to enable server-side encryption for parts.

SSE-C

copyPart

  1. Sets the decryption algorithm and key for decrypting the source object during object copy.
  2. Sets the encryption algorithm and key during partial object copy to enable the encryption algorithm for the target object part.

SSE-C