Server-Side Encryption APIs (SDK for Java)
If you have any questions during development, post them on the Issues page of GitHub.
The following table lists APIs related to server-side encryption:
Method in OBS Java SDK |
Description |
Supported Encryption Type |
---|---|---|
ObsClient.putObject |
Sets the encryption algorithm and key during object upload to enable server-side encryption. |
SSE-KMS SSE-C SSE-OBS |
ObsClient.getObject |
Users with the KMS Administrator permission can directly download objects encrypted using KMS. During a download, the backend decrypts KMS-encrypted objects before returning them. (SSE-KMS) Sets the decryption algorithm and key during object download to decrypt the object. (SSE-C) |
SSE-KMS SSE-C SSE-OBS |
ObsClient.copyObject |
|
SSE-KMS SSE-C |
ObsClient.getObjectMetadata |
Sets the decryption algorithm and key when obtaining the object metadata to decrypt the object. |
SSE-C SSE-OBS |
ObsClient.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 |
ObsClient.uploadPart |
Sets the encryption algorithm and key during multipart upload to enable server-side encryption for parts. |
SSE-C |
ObsClient.copyPart |
|
SSE-C |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot