Uses of Class
com.azure.security.keyvault.keys.models.JsonWebKey
Packages that use JsonWebKey
Package
Description
Azure Key Vault is a cloud-based service
provided by Microsoft Azure that allows users to securely store and manage cryptographic keys used for encrypting
and decrypting data.
Package containing the data models for Keys clients.
-
Uses of JsonWebKey in com.azure.security.keyvault.keys
Methods in com.azure.security.keyvault.keys with parameters of type JsonWebKeyModifier and TypeMethodDescriptionKeyAsyncClient.importKey
(String name, JsonWebKey keyMaterial) Imports an externally createdkey
and stores it in the key vault.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 JsonWebKeyModifier and TypeMethodDescriptionMono
<? 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.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 JsonWebKeyModifier and TypeMethodDescriptionstatic JsonWebKey
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
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.fromJson
(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aJsonWebKey
.static JsonWebKey
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.DeletedKey.getKey()
Get the key value.ImportKeyOptions.getKey()
Get the key material of the key being imported.KeyVaultKey.getKey()
Get the JSON Web Key.JsonWebKey.setCurveName
(KeyCurveName crv) Set the crv value.JsonWebKey.setD
(byte[] d) Set the d value.JsonWebKey.setDp
(byte[] dp) Set RSA Private Key Parameter value.JsonWebKey.setDq
(byte[] dq) Set RSA Private Key Parameter value .JsonWebKey.setE
(byte[] e) Set the e value.Set the key identifier value.JsonWebKey.setK
(byte[] k) Set the Symmetric key value.JsonWebKey.setKeyOps
(List<KeyOperation> keyOps) Set the keyOps value.JsonWebKey.setKeyType
(KeyType keyType) Set the key type value.JsonWebKey.setN
(byte[] n) Set the n value.JsonWebKey.setP
(byte[] p) Set the RSA secret prime value.JsonWebKey.setQ
(byte[] q) Set the RSA secret prime, with p < q value.JsonWebKey.setQi
(byte[] qi) Set RSA Private Key Parameter value.JsonWebKey.setT
(byte[] t) Set HSM Token value, used with Bring Your Own Key.JsonWebKey.setX
(byte[] x) Set the x value.JsonWebKey.setY
(byte[] y) Set the y value.Methods in com.azure.security.keyvault.keys.models with parameters of type JsonWebKeyModifier and TypeMethodDescriptionboolean
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 JsonWebKeyModifierConstructorDescriptionImportKeyOptions
(String name, JsonWebKey key) Creates instance ofImportKeyOptions
.