KeyVaultKey Class
- java.
lang. Object - com.
azure. security. keyvault. keys. models. KeyVaultKey
- com.
Implements
public class KeyVaultKey
implements JsonSerializable<KeyVaultKey>
Key is the resource consisting of name, JsonWebKey and its attributes specified in KeyProperties. It is managed by Key Service.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a KeyVaultKey. |
String |
getId()
Get the key identifier. |
Json |
getKey()
Get the JSON Web Key. |
List<Key |
getKeyOperations()
Get the key operations. |
Key |
getKeyType()
Get the key type. |
String |
getName()
Get the key name. |
Key |
getProperties()
Get the key properties. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static KeyVaultKey fromJson(JsonReader jsonReader)
Reads a JSON stream into a KeyVaultKey.
Parameters:
Returns:
Throws:
getId
public String getId()
Get the key identifier.
Returns:
getKey
public JsonWebKey getKey()
Get the JSON Web Key.
Returns:
getKeyOperations
public List
Get the key operations.
Returns:
getKeyType
public KeyType getKeyType()
Get the key type.
Returns:
getName
public String getName()
Get the key name.
Returns:
getProperties
public KeyProperties getProperties()
Get the key properties.
Returns:
toJson
Applies to
Azure SDK for Java