Package org.certificateservices.messages
Enum SigningAlgorithmScheme
- java.lang.Object
-
- java.lang.Enum<SigningAlgorithmScheme>
-
- org.certificateservices.messages.SigningAlgorithmScheme
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SigningAlgorithmScheme>
public enum SigningAlgorithmScheme extends java.lang.Enum<SigningAlgorithmScheme>
Definition of all supported Signature Algorithm by Message Security Providers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ECDSAWithSHA256ECDSAWithSHA512RSAWithSHA256RSAWithSHA512
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SigningAlgorithmSchemegetByName(java.lang.String name)java.lang.StringgetHashAlgorithmURI()java.lang.StringgetSignatureAlgorithmURI()static SigningAlgorithmSchemevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SigningAlgorithmScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RSAWithSHA256
public static final SigningAlgorithmScheme RSAWithSHA256
-
RSAWithSHA512
public static final SigningAlgorithmScheme RSAWithSHA512
-
ECDSAWithSHA256
public static final SigningAlgorithmScheme ECDSAWithSHA256
-
ECDSAWithSHA512
public static final SigningAlgorithmScheme ECDSAWithSHA512
-
-
Method Detail
-
values
public static SigningAlgorithmScheme[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SigningAlgorithmScheme c : SigningAlgorithmScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SigningAlgorithmScheme valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getHashAlgorithmURI
public java.lang.String getHashAlgorithmURI()
-
getSignatureAlgorithmURI
public java.lang.String getSignatureAlgorithmURI()
-
getByName
public static SigningAlgorithmScheme getByName(java.lang.String name)
-
-