## 类 com.aliyun.oss.model.SSEAlgorithm
的使用

- 使用SSEAlgorithm的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss.model |

- - ### com.aliyun.oss.model中SSEAlgorithm的使用

    返回SSEAlgorithm的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static SSEAlgorithm` | SSEAlgorithm.`fromString(String algorithm)` Returns the SSEAlgorithm enum corresponding to the given string; or null if and only if the given algorithm is null.
    `static SSEAlgorithm` | SSEAlgorithm.`getDefault()` Returns the default server side encryption algorithm, which is AES256.
    `static SSEAlgorithm` | SSEAlgorithm.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static SSEAlgorithm[]` | SSEAlgorithm.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为SSEAlgorithm的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | ServerSideEncryptionByDefault.`setSSEAlgorithm(SSEAlgorithm sseAlgorithm)` Sets the server-side encryption algorithm to use for the default encryption.
    `ServerSideEncryptionByDefault` | ServerSideEncryptionByDefault.`withSSEAlgorithm(SSEAlgorithm sseAlgorithm)` Sets the server-side encryption algorithm to use for the default encryption.

    参数类型为SSEAlgorithm的com.aliyun.oss.model中的构造器
    构造器和说明
    `ServerSideEncryptionByDefault(SSEAlgorithm sseAlgorithm)` Creates an instance.

Copyright © 2020. All Rights Reserved.