Uses of Class
com.azure.security.keyvault.keys.models.JsonWebKey
Package
Description
Package containing classes for creating
KeyAsyncClient
and
KeyClient
to perform operations on Azure Key Vault.Package containing classes for creating
CryptographyAsyncClient
and CryptographyClient
to perform cryptography operations.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
Modifier 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
Modifier and TypeMethodDescriptionMono<? extends AsyncKeyEncryptionKey>
KeyEncryptionKeyClientBuilder.buildAsyncKeyEncryptionKey
(JsonWebKey key) Creates a localKeyEncryptionKeyAsyncClient
based on options set in the builder.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
Modifier 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
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.Modifier and TypeMethodDescriptionboolean
JsonWebKey.equals
(JsonWebKey jwk) Indicates whether some otherJsonWebKey
is "equal to" this one.ModifierConstructorDescriptionImportKeyOptions
(String name, JsonWebKey key) Creates instance ofImportKeyOptions
.