@Deprecated public enum Ciphers extends Enum<Ciphers>
| 枚举常量和说明 |
|---|
AES
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract byte[] |
decrypt(byte[] src,
String key)
已过时。
|
abstract byte[] |
encrypt(byte[] src,
String key)
已过时。
|
static Optional<Ciphers> |
of(String name)
已过时。
|
static Ciphers |
valueOf(String name)
已过时。
返回带有指定名称的该类型的枚举常量。
|
static Ciphers[] |
values()
已过时。
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Ciphers AES
public static Ciphers[] values()
for (Ciphers c : Ciphers.values()) System.out.println(c);
public static Ciphers valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public abstract byte[] encrypt(byte[] src,
String key)
public abstract byte[] decrypt(byte[] src,
String key)
Copyright © 2019–2023. All rights reserved.