|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<XmlSecToolCommandLineArguments.DigestChoice>
edu.internet2.middleware.security.XmlSecToolCommandLineArguments.DigestChoice
public static enum XmlSecToolCommandLineArguments.DigestChoice
The digest method to use in the various signature algorithms.
| Enum Constant Summary | |
|---|---|
SHA1
SHA-1 digest. |
|
SHA256
SHA-256 digest. |
|
SHA384
SHA-384 digest. |
|
SHA512
SHA-512 digest. |
|
| Field Summary | |
|---|---|
private String |
digestAlgorithm
Digest algorithm. |
private String |
ecdsaAlgorithm
ECDSA signature algorithm. |
private String |
otherName
Other name (with hyphens, etc.) used as an alternative to the enum name. |
private String |
rsaAlgorithm
RSA signature algorithm. |
| Method Summary | |
|---|---|
static XmlSecToolCommandLineArguments.DigestChoice |
find(String name)
Finds the XmlSecToolCommandLineArguments.DigestChoice for a given digest name. |
String |
getDigestAlgorithm()
Returns the digest algorithm URI for this digest choice. |
String |
getEcdsaAlgorithm()
Returns the ECDSA signature algorithm URI for this digest choice. |
String |
getRsaAlgorithm()
Returns the RSA signature algorithm URI for this digest choice. |
boolean |
hasName(String name)
Indicates whether the enum can be called by the provided name. |
static XmlSecToolCommandLineArguments.DigestChoice |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static XmlSecToolCommandLineArguments.DigestChoice[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final XmlSecToolCommandLineArguments.DigestChoice SHA1
public static final XmlSecToolCommandLineArguments.DigestChoice SHA256
public static final XmlSecToolCommandLineArguments.DigestChoice SHA384
public static final XmlSecToolCommandLineArguments.DigestChoice SHA512
| Field Detail |
|---|
private final String otherName
private final String digestAlgorithm
private final String rsaAlgorithm
private final String ecdsaAlgorithm
| Method Detail |
|---|
public static XmlSecToolCommandLineArguments.DigestChoice[] values()
for (XmlSecToolCommandLineArguments.DigestChoice c : XmlSecToolCommandLineArguments.DigestChoice.values()) System.out.println(c);
public static XmlSecToolCommandLineArguments.DigestChoice valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getDigestAlgorithm()
public String getRsaAlgorithm()
public String getEcdsaAlgorithm()
public boolean hasName(String name)
name - name to check against
true if and only if the enum can be called by the provided namepublic static XmlSecToolCommandLineArguments.DigestChoice find(String name)
XmlSecToolCommandLineArguments.DigestChoice for a given digest name.
name - name of the digest to be found
XmlSecToolCommandLineArguments.DigestChoice represented by the name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||