public enum ECryptoAlgorithmSignDigest extends Enum<ECryptoAlgorithmSignDigest> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
DIGEST_SHA_256 |
DIGEST_SHA_384 |
DIGEST_SHA_512 |
| Modifier and Type | Field and Description |
|---|---|
static ECryptoAlgorithmSignDigest |
SIGN_DIGEST_ALGORITHM_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithmURI() |
static ECryptoAlgorithmSignDigest |
getFromIDOrDefault(String sID,
ECryptoAlgorithmSignDigest eDefault) |
static ECryptoAlgorithmSignDigest |
getFromIDOrNull(String sID) |
static ECryptoAlgorithmSignDigest |
getFromIDOrThrow(String sID) |
static ECryptoAlgorithmSignDigest |
getFromURIOrNull(String sURI) |
String |
getID() |
static ECryptoAlgorithmSignDigest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECryptoAlgorithmSignDigest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECryptoAlgorithmSignDigest DIGEST_SHA_256
public static final ECryptoAlgorithmSignDigest DIGEST_SHA_384
public static final ECryptoAlgorithmSignDigest DIGEST_SHA_512
public static final ECryptoAlgorithmSignDigest SIGN_DIGEST_ALGORITHM_DEFAULT
public static ECryptoAlgorithmSignDigest[] values()
for (ECryptoAlgorithmSignDigest c : ECryptoAlgorithmSignDigest.values()) System.out.println(c);
public static ECryptoAlgorithmSignDigest 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>@Nullable public static ECryptoAlgorithmSignDigest getFromIDOrNull(@Nullable String sID)
@Nonnull public static ECryptoAlgorithmSignDigest getFromIDOrThrow(@Nullable String sID)
@Nullable public static ECryptoAlgorithmSignDigest getFromIDOrDefault(@Nullable String sID, @Nullable ECryptoAlgorithmSignDigest eDefault)
@Nullable public static ECryptoAlgorithmSignDigest getFromURIOrNull(@Nullable String sURI)
Copyright © 2015–2020 Philip Helger. All rights reserved.