public enum ECryptoAlgorithmCrypt extends Enum<ECryptoAlgorithmCrypt> implements ICryptoAlgorithm
| Enum Constant and Description |
|---|
CRYPT_3DES |
CRYPT_AES128_CBC |
CRYPT_AES128_GCM |
CRYPT_AES192_CBC |
CRYPT_AES192_GCM |
CRYPT_AES256_CBC |
CRYPT_AES256_GCM |
CRYPT_CAST5 |
CRYPT_IDEA |
CRYPT_RC2 |
| Modifier and Type | Method and Description |
|---|---|
static ECryptoAlgorithmCrypt |
getFromIDOrDefault(String sID,
ECryptoAlgorithmCrypt eDefault) |
static ECryptoAlgorithmCrypt |
getFromIDOrNull(String sID) |
static ECryptoAlgorithmCrypt |
getFromIDOrThrow(String sID) |
String |
getID() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getOID() |
static ECryptoAlgorithmCrypt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECryptoAlgorithmCrypt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECryptoAlgorithmCrypt CRYPT_3DES
public static final ECryptoAlgorithmCrypt CRYPT_CAST5
public static final ECryptoAlgorithmCrypt CRYPT_IDEA
public static final ECryptoAlgorithmCrypt CRYPT_RC2
public static final ECryptoAlgorithmCrypt CRYPT_AES128_CBC
public static final ECryptoAlgorithmCrypt CRYPT_AES192_CBC
public static final ECryptoAlgorithmCrypt CRYPT_AES256_CBC
public static final ECryptoAlgorithmCrypt CRYPT_AES128_GCM
public static final ECryptoAlgorithmCrypt CRYPT_AES192_GCM
public static final ECryptoAlgorithmCrypt CRYPT_AES256_GCM
public static ECryptoAlgorithmCrypt[] values()
for (ECryptoAlgorithmCrypt c : ECryptoAlgorithmCrypt.values()) System.out.println(c);
public static ECryptoAlgorithmCrypt 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public org.bouncycastle.asn1.ASN1ObjectIdentifier getOID()
getOID in interface ICryptoAlgorithmnull.@Nullable public static ECryptoAlgorithmCrypt getFromIDOrNull(@Nullable String sID)
@Nonnull public static ECryptoAlgorithmCrypt getFromIDOrThrow(@Nullable String sID)
@Nullable public static ECryptoAlgorithmCrypt getFromIDOrDefault(@Nullable String sID, @Nullable ECryptoAlgorithmCrypt eDefault)
Copyright © 2013–2022 Philip Helger. All rights reserved.