public static enum Mode.Cipher extends Enum<Mode.Cipher>
| Enum Constant and Description |
|---|
decrypt
解密模式
|
encrypt
加密模式
|
unwrap
拆包模式
|
wrap
包装模式
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
获取枚举值对应的int表示
|
static Mode.Cipher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode.Cipher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mode.Cipher encrypt
public static final Mode.Cipher decrypt
public static final Mode.Cipher wrap
public static final Mode.Cipher unwrap
public static Mode.Cipher[] values()
for (Mode.Cipher c : Mode.Cipher.values()) System.out.println(c);
public static Mode.Cipher valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
Copyright © 2021. All rights reserved.