Enum AwsSigningConfig.AwsSigningAlgorithm
- java.lang.Object
-
- java.lang.Enum<AwsSigningConfig.AwsSigningAlgorithm>
-
- software.amazon.awssdk.crt.auth.signing.AwsSigningConfig.AwsSigningAlgorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<AwsSigningConfig.AwsSigningAlgorithm>
- Enclosing class:
- AwsSigningConfig
public static enum AwsSigningConfig.AwsSigningAlgorithm extends Enum<AwsSigningConfig.AwsSigningAlgorithm>
What version of the AWS signing process should we use.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SIGV4
Standard AWS Sigv4 signing, based on AWS credentials and symmetric secretsSIGV4_ASYMMETRIC
AWS Sigv4a signing, based on ECDSA signatures
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsSigningConfig.AwsSigningAlgorithm
getEnumValueFromInteger(int value)
Creates a Java enum value from a native enum value as an integerint
getNativeValue()
Trivial Java Enum value to native enum value conversion functionstatic AwsSigningConfig.AwsSigningAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static AwsSigningConfig.AwsSigningAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIGV4
public static final AwsSigningConfig.AwsSigningAlgorithm SIGV4
Standard AWS Sigv4 signing, based on AWS credentials and symmetric secrets
-
SIGV4_ASYMMETRIC
public static final AwsSigningConfig.AwsSigningAlgorithm SIGV4_ASYMMETRIC
AWS Sigv4a signing, based on ECDSA signatures
-
-
Method Detail
-
values
public static AwsSigningConfig.AwsSigningAlgorithm[] 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 (AwsSigningConfig.AwsSigningAlgorithm c : AwsSigningConfig.AwsSigningAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AwsSigningConfig.AwsSigningAlgorithm 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
-
getNativeValue
public int getNativeValue()
Trivial Java Enum value to native enum value conversion function- Returns:
- integer associated with this enum value
-
getEnumValueFromInteger
public static AwsSigningConfig.AwsSigningAlgorithm getEnumValueFromInteger(int value)
Creates a Java enum value from a native enum value as an integer- Parameters:
value
- native enum value- Returns:
- the corresponding Java enum value
-
-