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 |
---|---|
Mono<KeyVaultKey> |
KeyAsyncClient.importKey(String name,
JsonWebKey keyMaterial)
Imports an externally created key and stores it in key vault.
|
KeyVaultKey |
KeyClient.importKey(String name,
JsonWebKey keyMaterial)
Imports an externally created key and stores it in key vault.
|
Modifier and Type | Method and Description |
---|---|
Mono<? extends com.azure.core.cryptography.AsyncKeyEncryptionKey> |
KeyEncryptionKeyClientBuilder.buildAsyncKeyEncryptionKey(JsonWebKey key)
Creates a local
KeyEncryptionKeyAsyncClient based on options set in the builder. |
com.azure.core.cryptography.KeyEncryptionKey |
KeyEncryptionKeyClientBuilder.buildKeyEncryptionKey(JsonWebKey key)
Creates a local
KeyEncryptionKeyClient for a given JSON Web Key. |
CryptographyClientBuilder |
CryptographyClientBuilder.jsonWebKey(JsonWebKey jsonWebKey)
Sets the
JsonWebKey to be used for local cryptography operations. |
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 |
DeletedKey.getKey()
Get the key value.
|
JsonWebKey |
KeyVaultKey.getKey()
Get the JSON Web Key.
|
JsonWebKey |
ImportKeyOptions.getKey()
Get the key material of the key being imported.
|
JsonWebKey |
JsonWebKey.setCurveName(KeyCurveName crv)
Set the crv value.
|
JsonWebKey |
JsonWebKey.setD(byte[] d)
Set the d value.
|
JsonWebKey |
JsonWebKey.setDp(byte[] dp)
Set RSA Private Key Parameter value.
|
JsonWebKey |
JsonWebKey.setDq(byte[] dq)
Set RSA Private Key Parameter value .
|
JsonWebKey |
JsonWebKey.setE(byte[] e)
Set the e value.
|
JsonWebKey |
JsonWebKey.setId(String keyId)
Set the key identifier value.
|
JsonWebKey |
JsonWebKey.setK(byte[] k)
Set the Symmetric key value.
|
JsonWebKey |
JsonWebKey.setKeyOps(List<KeyOperation> keyOps)
Set the keyOps value.
|
JsonWebKey |
JsonWebKey.setKeyType(KeyType keyType)
Set the key type value.
|
JsonWebKey |
JsonWebKey.setN(byte[] n)
Set the n value.
|
JsonWebKey |
JsonWebKey.setP(byte[] p)
Set the RSA secret prime value.
|
JsonWebKey |
JsonWebKey.setQ(byte[] q)
Set the RSA secret prime, with p < q value.
|
JsonWebKey |
JsonWebKey.setQi(byte[] qi)
Set RSA Private Key Parameter value.
|
JsonWebKey |
JsonWebKey.setT(byte[] t)
Set HSM Token value, used with Bring Your Own Key.
|
JsonWebKey |
JsonWebKey.setX(byte[] x)
Set the x value.
|
JsonWebKey |
JsonWebKey.setY(byte[] y)
Set the y 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
ImportKeyOptions . |
Copyright © 2021 Microsoft Corporation. All rights reserved.