Package software.amazon.awssdk.crt.io
Enum TlsSignatureAlgorithm
- java.lang.Object
-
- java.lang.Enum<TlsSignatureAlgorithm>
-
- software.amazon.awssdk.crt.io.TlsSignatureAlgorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<TlsSignatureAlgorithm>
public enum TlsSignatureAlgorithm extends Enum<TlsSignatureAlgorithm>
The signature of a TLS private key operation. Any custom private key operation handlers are expected to perform operations on the input TLS data using the correct signature algorithm or fail the operation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TlsSignatureAlgorithm
getEnumValueFromInteger(int value)
int
getNativeValue()
static TlsSignatureAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static TlsSignatureAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final TlsSignatureAlgorithm UNKNOWN
-
RSA
public static final TlsSignatureAlgorithm RSA
-
ECDSA
public static final TlsSignatureAlgorithm ECDSA
-
-
Method Detail
-
values
public static TlsSignatureAlgorithm[] 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 (TlsSignatureAlgorithm c : TlsSignatureAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TlsSignatureAlgorithm 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
-
getEnumValueFromInteger
public static TlsSignatureAlgorithm getEnumValueFromInteger(int value)
-
getNativeValue
public int getNativeValue()
-
-