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.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.importKey(String name,
JsonWebKey keyMaterial)
Imports an externally created key and stores it in key vault.
|
Mono<KeyVaultKey> |
KeyAsyncClient.importKey(String name,
JsonWebKey keyMaterial)
Imports an externally created key and stores it in key vault.
|
Modifier and Type | Method and Description |
---|---|
static JsonWebKey |
JsonWebKey.fromAes(SecretKey secretKey)
Converts AES key to JSON web key.
|
static JsonWebKey |
JsonWebKey.fromAes(SecretKey secretKey,
List<KeyOperation> keyOperations)
Converts AES key to JSON web key.
|
static JsonWebKey |
JsonWebKey.fromEc(KeyPair keyPair,
Provider provider)
Converts EC key pair to JSON web key.
|
static JsonWebKey |
JsonWebKey.fromEc(KeyPair keyPair,
Provider provider,
List<KeyOperation> keyOperations)
Converts EC key pair to JSON web key.
|
static JsonWebKey |
JsonWebKey.fromRsa(KeyPair keyPair)
Converts RSA key pair to JSON web key.
|
static JsonWebKey |
JsonWebKey.fromRsa(KeyPair keyPair,
List<KeyOperation> keyOperations)
Converts RSA key pair to JSON web key.
|
JsonWebKey |
ImportKeyOptions.getKey()
Get the key material of the key being imported.
|
JsonWebKey |
DeletedKey.getKey()
Get the key value.
|
JsonWebKey |
KeyVaultKey.getKey()
Get the key value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsonWebKey.equals(JsonWebKey jwk)
Indicates whether some other
JsonWebKey is "equal to" this one. |
Constructor and Description |
---|
ImportKeyOptions(String name,
JsonWebKey key)
Creates instance of KeyImportOptions.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.