Package | Description |
---|---|
com.azure.security.keyvault.keys |
Package containing classes for creating
KeyAsyncClient and
KeyClient to perform operations on Azure Key Vault. |
com.azure.security.keyvault.keys.cryptography |
Package containing classes for creating
CryptographyAsyncClient
and CryptographyClient to perform cryptography operations. |
com.azure.security.keyvault.keys.models |
Package containing classes used for representing keys, deleted keys and their attributes in
Azure Key Vault.
|
Modifier and Type | Method and Description |
---|---|
KeyVaultKey |
KeyClient.createEcKey(CreateEcKeyOptions createEcKeyOptions)
Creates a new
EC key and stores it in the key vault. |
KeyVaultKey |
KeyClient.createKey(CreateKeyOptions createKeyOptions)
Creates a new
key and stores it in the key vault. |
KeyVaultKey |
KeyClient.createKey(String name,
KeyType keyType)
Creates a new
key and stores it in the key vault. |
KeyVaultKey |
KeyClient.createOctKey(CreateOctKeyOptions createOctKeyOptions)
Creates and stores a new
symmetric key in the key vault. |
KeyVaultKey |
KeyClient.createRsaKey(CreateRsaKeyOptions createRsaKeyOptions)
Creates a new
RSA key and stores it in the key vault. |
KeyVaultKey |
KeyClient.getKey(String name)
Gets the public part of the specified
key and key version. |
KeyVaultKey |
KeyClient.getKey(String name,
String version)
Gets the public part of the specified
key and key version. |
KeyVaultKey |
KeyClient.importKey(ImportKeyOptions importKeyOptions)
Imports an externally created
key and stores it in the key vault. |
KeyVaultKey |
KeyClient.importKey(String name,
JsonWebKey keyMaterial)
Imports an externally created
key and stores it in the key vault. |
KeyVaultKey |
KeyClient.restoreKeyBackup(byte[] backup)
Restores a backed up
key to a vault. |
KeyVaultKey |
KeyClient.rotateKey(String name)
Rotates a
key . |
KeyVaultKey |
KeyClient.updateKeyProperties(KeyProperties keyProperties,
KeyOperation... keyOperations)
Updates the
attributes and key operations associated with the
specified key , but not the cryptographic key material of the specified
key in the key vault. |
Modifier and Type | Method and Description |
---|---|
KeyVaultKey |
CryptographyClient.getKey()
Gets the public part of the configured key.
|
Modifier and Type | Class and Description |
---|---|
class |
DeletedKey
Deleted Key is the resource consisting of name, recovery id, deleted date, scheduled purge date and its attributes
inherited from
KeyVaultKey . |
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.