Enum EiffelEvent.Meta.Security.IntegrityProtection.Alg
- java.lang.Object
-
- java.lang.Enum<EiffelEvent.Meta.Security.IntegrityProtection.Alg>
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.eiffel.EiffelEvent.Meta.Security.IntegrityProtection.Alg
-
- All Implemented Interfaces:
Serializable
,Comparable<EiffelEvent.Meta.Security.IntegrityProtection.Alg>
- Enclosing class:
- EiffelEvent.Meta.Security.IntegrityProtection
public static enum EiffelEvent.Meta.Security.IntegrityProtection.Alg extends Enum<EiffelEvent.Meta.Security.IntegrityProtection.Alg>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSignatureAlgorithm()
Translates this algorithm to something the java.security package understands.static EiffelEvent.Meta.Security.IntegrityProtection.Alg
valueOf(String name)
Returns the enum constant of this type with the specified name.static EiffelEvent.Meta.Security.IntegrityProtection.Alg[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HS256
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg HS256
-
HS384
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg HS384
-
HS512
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg HS512
-
RS256
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg RS256
-
RS384
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg RS384
-
RS512
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg RS512
-
ES256
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg ES256
-
ES384
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg ES384
-
ES512
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg ES512
-
PS256
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg PS256
-
PS384
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg PS384
-
PS512
public static final EiffelEvent.Meta.Security.IntegrityProtection.Alg PS512
-
-
Method Detail
-
values
public static EiffelEvent.Meta.Security.IntegrityProtection.Alg[] 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 (EiffelEvent.Meta.Security.IntegrityProtection.Alg c : EiffelEvent.Meta.Security.IntegrityProtection.Alg.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EiffelEvent.Meta.Security.IntegrityProtection.Alg valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSignatureAlgorithm
public String getSignatureAlgorithm() throws UnsupportedAlgorithmException
Translates this algorithm to something the java.security package understands.- Returns:
- a string representing this algorithm value, suitable for passing to
Signature.getInstance(String)
- Throws:
UnsupportedAlgorithmException
- when the current algorithm value can't be used for signing events
-
-