public enum ECryptoAlgorithmCrypt extends Enum<ECryptoAlgorithmCrypt> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
AES_128_CBC |
AES_128_GCM |
AES_192_CBC |
AES_192_GCM |
AES_256_CBC |
AES_256_GCM |
CRYPT_3DES |
| Modifier and Type | Field and Description |
|---|---|
static ECryptoAlgorithmCrypt |
ENCRPYTION_ALGORITHM_DEFAULT
Default encrypt algorithm
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithmURI() |
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 AES_128_CBC
public static final ECryptoAlgorithmCrypt AES_128_GCM
public static final ECryptoAlgorithmCrypt AES_192_CBC
public static final ECryptoAlgorithmCrypt AES_192_GCM
public static final ECryptoAlgorithmCrypt AES_256_CBC
public static final ECryptoAlgorithmCrypt AES_256_GCM
public static final ECryptoAlgorithmCrypt ENCRPYTION_ALGORITHM_DEFAULT
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()
@Nonnull @Nonempty public String getAlgorithmURI()
@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 © 2015–2020 Philip Helger. All rights reserved.