Class KeyType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyType>
com.azure.security.keyvault.keys.models.KeyType
JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyTypeElliptic Curve.static final KeyTypeElliptic Curve with a private key which is stored in the HSM.static final KeyTypeOctet sequence (used to represent symmetric keys).static final KeyTypeOctet sequence (used to represent symmetric keys) which is stored the HSM.static final KeyTypeRSA (https://tools.ietf.org/html/rfc3447).static final KeyTypeRSA with a private key which is stored in the HSM. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyTypefromString(String name) Creates or finds a KeyType from its string representation.static Collection<KeyType>values()Gets known KeyType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
EC
Elliptic Curve. -
EC_HSM
Elliptic Curve with a private key which is stored in the HSM. -
RSA
RSA (https://tools.ietf.org/html/rfc3447). -
RSA_HSM
RSA with a private key which is stored in the HSM. -
OCT
Octet sequence (used to represent symmetric keys). -
OCT_HSM
Octet sequence (used to represent symmetric keys) which is stored the HSM.
-
-
Constructor Details
-
KeyType
Deprecated.Use thefromString(String)factory method.Creates a new instance of KeyType value.
-
-
Method Details
-
fromString
Creates or finds a KeyType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding KeyType.
-
values
Gets known KeyType values.- Returns:
- known KeyType values.
-
fromString(String)factory method.