public enum DigestMethod extends Enum<DigestMethod>
| Modifier and Type | Method and Description |
|---|---|
static DigestMethod |
fromUri(String uri) |
String |
getIdentifier() |
String |
getUri() |
static DigestMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigestMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigestMethod SHA1
public static final DigestMethod SHA256
public static final DigestMethod SHA512
public static DigestMethod[] values()
for (DigestMethod c : DigestMethod.values()) System.out.println(c);
public static DigestMethod 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 String getIdentifier()
public String getUri()
public static DigestMethod fromUri(String uri)
Copyright © 2021 NorStella. All rights reserved.