Enum Info |
|---|
public enum Algorithm 支持的算法。 |
Enum Value and Description |
|---|
ES256 ES256算法。 |
ES384 ES384算法。 |
ES512 ES512算法。 |
RS256 RS256算法。 |
RS384 RS384算法。 |
RS512 RS512算法。 |
PS256 PS256算法。 |
PS384 PS384算法。 |
PS512 PS512算法。 |
ECDH ECDH算法。 |
Method |
|---|
public boolean isEccAlgorithm() 是否为Ecc类算法。 |
Returns
Type | Description |
|---|---|
boolean | 当前算法实例采用的是否为Ecc类算法。 |
Method |
|---|
public boolean isRsaAlgorithm() 是否为Rsa类算法。 |
Returns
Type | Description |
|---|---|
boolean | 当前算法实例采用的是否为Rsa类算法。 |
Method |
|---|
public Algorithm fromName(String name) 根据名称生成算法实例。 |
Parameters
Name | Description |
|---|---|
name | 算法名称。 |
Returns
Type | Description |
|---|---|
Algorithm | 算法实例。 |