public enum CipherMode extends Enum<CipherMode>
Enum Constant and Description |
---|
decrypt
解密模式
|
encrypt
加密模式
|
unwrap
拆包模式
|
wrap
包装模式
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
获取枚举值对应的int表示
|
static CipherMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CipherMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CipherMode encrypt
public static final CipherMode decrypt
public static final CipherMode wrap
public static final CipherMode unwrap
public static CipherMode[] values()
for (CipherMode c : CipherMode.values()) System.out.println(c);
public static CipherMode 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.