public enum EncryptMethod extends Enum<EncryptMethod> implements EnumValue
Enum Constant and Description |
---|
DES |
NONE_OTHER |
PEM_DES_MD5 |
PGP_DES |
PGP_DES_MD5 |
PKCS |
PKCS_DES |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(byte[] val) |
boolean |
equals(byte[] val,
int offset,
int length) |
byte[] |
getValue() |
static EncryptMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptMethod NONE_OTHER
public static final EncryptMethod PKCS
public static final EncryptMethod DES
public static final EncryptMethod PKCS_DES
public static final EncryptMethod PGP_DES
public static final EncryptMethod PGP_DES_MD5
public static final EncryptMethod PEM_DES_MD5
public static EncryptMethod[] values()
for (EncryptMethod c : EncryptMethod.values()) System.out.println(c);
public static EncryptMethod 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 boolean equals(byte[] val, int offset, int length)
Copyright © 2000–2022 EPAM Systems. All rights reserved.