Uses of Class
com.azure.security.keyvault.keys.models.JsonWebKey
-
Packages that use JsonWebKey Package Description com.azure.security.keyvault.keys Package containing classes for creatingKeyAsyncClient
andKeyClient
to perform operations on Azure Key Vault.com.azure.security.keyvault.keys.cryptography Package containing classes for creatingCryptographyAsyncClient
andCryptographyClient
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. -
-
Uses of JsonWebKey in com.azure.security.keyvault.keys
Methods in com.azure.security.keyvault.keys with parameters of type JsonWebKey Modifier and Type Method Description Mono<KeyVaultKey>
KeyAsyncClient. importKey(String name, JsonWebKey keyMaterial)
Imports an externally createdkey
and stores it in the key vault.KeyVaultKey
KeyClient. importKey(String name, JsonWebKey keyMaterial)
Imports an externally createdkey
and stores it in the key vault. -
Uses of JsonWebKey in com.azure.security.keyvault.keys.cryptography
Methods in com.azure.security.keyvault.keys.cryptography with parameters of type JsonWebKey Modifier and Type Method Description Mono<? extends com.azure.core.cryptography.AsyncKeyEncryptionKey>
KeyEncryptionKeyClientBuilder. buildAsyncKeyEncryptionKey(JsonWebKey key)
Creates a localKeyEncryptionKeyAsyncClient
based on options set in the builder.com.azure.core.cryptography.KeyEncryptionKey
KeyEncryptionKeyClientBuilder. buildKeyEncryptionKey(JsonWebKey key)
Creates a localKeyEncryptionKeyClient
for a given JSON Web Key.CryptographyClientBuilder
CryptographyClientBuilder. jsonWebKey(JsonWebKey jsonWebKey)
Sets theJsonWebKey
to be used for local cryptography operations. -
Uses of JsonWebKey in com.azure.security.keyvault.keys.models
Methods in com.azure.security.keyvault.keys.models that return JsonWebKey Modifier and Type Method 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
ImportKeyOptions. getKey()
Get the key material of the key being imported.JsonWebKey
KeyVaultKey. getKey()
Get the JSON Web Key.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.Methods in com.azure.security.keyvault.keys.models with parameters of type JsonWebKey Modifier and Type Method Description boolean
JsonWebKey. equals(JsonWebKey jwk)
Indicates whether some otherJsonWebKey
is "equal to" this one.Constructors in com.azure.security.keyvault.keys.models with parameters of type JsonWebKey Constructor Description ImportKeyOptions(String name, JsonWebKey key)
Creates instance ofImportKeyOptions
.
-