Package org.eclipse.cbi.common.security
Enum SignatureAlgorithm
- All Implemented Interfaces:
Serializable
,Comparable<SignatureAlgorithm>
,java.lang.constant.Constable
A enumeration of
Signature
algorithm available in Java 8 as
specified in the document "
standard names for algorithms".-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureAlgorithm
fromStandardName
(String signatureAlgorithmName) Returns the standard name of theSignature
algorithm as specified in the document " standard names for algorithms"static SignatureAlgorithm
Returns the enum constant of this type with the specified name.static SignatureAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
-
NONEwithRSA
-
MD2withRSA
-
MD5withRSA
-
SHA1withRSA
-
SHA224withRSA
-
SHA256withRSA
-
SHA384withRSA
-
SHA512withRSA
-
SHA1withDSA
-
SHA224withDSA
-
SHA256withDSA
-
NONEwithECDSA
-
SHA1withECDSA
-
SHA224withECDSA
-
SHA256withECDSA
-
SHA384withECDSA
-
SHA512withECDSA
-
-
Field Details
-
standardName
-
aliases
-
-
Constructor Details
-
SignatureAlgorithm
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
standardName
Returns the standard name of theSignature
algorithm as specified in the document " standard names for algorithms"- Returns:
- the standard name of the algorithm.
-
fromStandardName
-