public enum CipherAlg extends Enum<CipherAlg>
| Enum Constant and Description |
|---|
AEAD_AES_256_GCM
Aead aes 256 gcm decrypt algs.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
alg |
private int |
tagLength |
private String |
transformation |
| Modifier and Type | Method and Description |
|---|---|
String |
alg()
Alg string.
|
int |
tagLength()
Tag length int.
|
String |
transformation()
Transformation string.
|
static CipherAlg |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CipherAlg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
WecomCipher |
wecomCipher()
Wecom cipher wecom cipher.
|
public static final CipherAlg AEAD_AES_256_GCM
private final String alg
private final String transformation
private final int tagLength
public static CipherAlg[] values()
for (CipherAlg c : CipherAlg.values()) System.out.println(c);
public static CipherAlg 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 String alg()
public String transformation()
public int tagLength()
public WecomCipher wecomCipher()
Copyright © 2023. All rights reserved.