public enum CryptoAlgorithm extends Enum<CryptoAlgorithm>
Enum Constant and Description |
---|
AESx128
AES with key length 128.
|
AESx256
AES with key length 256.
|
RC4x128
RC4 with key length 128.
|
RC4x40
RC4 with key length 40.
|
Modifier and Type | Field and Description |
---|---|
static CryptoAlgorithm[] |
values |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
CryptoAlgorithm |
next() |
CryptoAlgorithm |
prev() |
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 RC4x40
RC4 with key length 40.
public static final CryptoAlgorithm RC4x128
RC4 with key length 128.
public static final CryptoAlgorithm AESx128
AES with key length 128.
public static final CryptoAlgorithm AESx256
AES with key length 256.
public static final CryptoAlgorithm[] values
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 getValue()
public CryptoAlgorithm prev()
public CryptoAlgorithm next()
Copyright © 2023 Aspose. All Rights Reserved.