public enum CryptoAlgorithm extends Enum<CryptoAlgorithm>
Enum Constant and Description |
---|
AES_128_GCM_IV12_TAG16
AES-GCM 128
|
AES_192_GCM_IV12_TAG16
AES-GCM 192
|
AES_256_GCM_IV12_TAG16
AES-GCM 256
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
int |
getAlgorithmId() |
int |
getBlockSize() |
int |
getDataKeyLen() |
int |
getIvLen() |
String |
getMode() |
int |
getPadding() |
int |
getTagLen() |
static CryptoAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoAlgorithm AES_128_GCM_IV12_TAG16
public static final CryptoAlgorithm AES_192_GCM_IV12_TAG16
public static final CryptoAlgorithm AES_256_GCM_IV12_TAG16
public static CryptoAlgorithm[] values()
for (CryptoAlgorithm c : CryptoAlgorithm.values()) System.out.println(c);
public static CryptoAlgorithm 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 getAlgorithmId()
public String getAlgorithm()
public String getMode()
public int getDataKeyLen()
public int getIvLen()
public int getTagLen()
public int getPadding()
public int getBlockSize()
Copyright © 2016–2024. All rights reserved.