Help Center/ Object Storage Service/ SDK Reference/ Java/ FAQs (SDK for Java)/ How Do I Download an Encrypted Object Using a URL? (SDK for Java)
Updated on 2024-12-11 GMT+08:00

How Do I Download an Encrypted Object Using a URL? (SDK for Java)

If the object is encrypted with SSE-KMS, the server automatically decrypts the object when you use the URL of the object to download it.

If the object is encrypted with SSE-C, you cannot access the object directly through a web browser because a request header is required for decryption. If you use code to download the encrypted object, configure the header by referring to Code Example: Downloading an Object Encrypted Using SSE-C.

Accessing a server-side encrypted object requires the HTTPS protocol.