Class KeyVaultKey
java.lang.Object
com.azure.security.keyvault.keys.models.KeyVaultKey
- All Implemented Interfaces:
com.azure.json.JsonSerializable<KeyVaultKey>
- Direct Known Subclasses:
DeletedKey
Key is the resource consisting of name,
JsonWebKey and its attributes specified in KeyProperties.
It is managed by Key Service.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyVaultKeyfromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aKeyVaultKey.getId()Get the key identifier.getKey()Get the JSON Web Key.Get the key operations.Get the key type.getName()Get the key name.Get the key properties.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getKey
-
getProperties
-
getId
-
getName
-
getKeyType
-
getKeyOperations
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<KeyVaultKey>- Throws:
IOException
-
fromJson
Reads a JSON stream into aKeyVaultKey.- Parameters:
jsonReader- TheJsonReaderbeing read.- Returns:
- An instance of
KeyVaultKeythat the JSON stream represented, may return null. - Throws:
IOException- If aKeyVaultKeyfails to be read from thejsonReader.
-