Uses of Class
com.azure.security.keyvault.keys.models.JsonWebKey
Packages that use 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
Methods in com.azure.security.keyvault.keys with parameters of type JsonWebKeyModifier and TypeMethodDescriptionKeyAsyncClient.importKey(String name, JsonWebKey keyMaterial) Imports an externally createdkeyand stores it in the key vault.KeyClient.importKey(String name, JsonWebKey keyMaterial) Imports an externally createdkeyand 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 localKeyEncryptionKeyAsyncClientbased on options set in the builder.com.azure.core.cryptography.KeyEncryptionKeyKeyEncryptionKeyClientBuilder.buildKeyEncryptionKey(JsonWebKey key) Creates a localKeyEncryptionKeyClientfor a given JSON Web Key.CryptographyClientBuilder.jsonWebKey(JsonWebKey jsonWebKey) Sets theJsonWebKeyto 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 JsonWebKeyConverts AES key to JSON web key.static JsonWebKeyJsonWebKey.fromAes(SecretKey secretKey, List<KeyOperation> keyOperations) Converts AES key to JSON web key.static JsonWebKeyConverts EC key pair to JSON web key.static JsonWebKeyJsonWebKey.fromEc(KeyPair keyPair, Provider provider, List<KeyOperation> keyOperations) Converts EC key pair to JSON web key.static JsonWebKeyConverts RSA key pair to JSON web key.static JsonWebKeyJsonWebKey.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 TypeMethodDescriptionbooleanJsonWebKey.equals(JsonWebKey jwk) Indicates whether some otherJsonWebKeyis "equal to" this one.Constructors in com.azure.security.keyvault.keys.models with parameters of type JsonWebKeyModifierConstructorDescriptionImportKeyOptions(String name, JsonWebKey key) Creates instance ofImportKeyOptions.