Class KeyEncryptionKeyAsyncClient
- java.lang.Object
-
- com.azure.security.keyvault.keys.cryptography.CryptographyAsyncClient
-
- com.azure.security.keyvault.keys.cryptography.KeyEncryptionKeyAsyncClient
-
- All Implemented Interfaces:
com.azure.core.cryptography.AsyncKeyEncryptionKey
public final class KeyEncryptionKeyAsyncClient extends CryptographyAsyncClient implements com.azure.core.cryptography.AsyncKeyEncryptionKey
A key client which is used to asynchronously wrap or unwrap another key.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mono<String>getKeyId()Get the identifier of the key to use for cryptography operations.Mono<byte[]>unwrapKey(String algorithm, byte[] encryptedKey)Mono<byte[]>wrapKey(String algorithm, byte[] key)-
Methods inherited from class com.azure.security.keyvault.keys.cryptography.CryptographyAsyncClient
decrypt, decrypt, encrypt, encrypt, getKey, getKeyWithResponse, sign, signData, unwrapKey, verify, verifyData, wrapKey
-
-
-
-
Method Detail
-
getKeyId
public Mono<String> getKeyId()
Get the identifier of the key to use for cryptography operations.- Specified by:
getKeyIdin interfacecom.azure.core.cryptography.AsyncKeyEncryptionKey- Returns:
- A
Monocontaining the key identifier.
-
wrapKey
public Mono<byte[]> wrapKey(String algorithm, byte[] key)
- Specified by:
wrapKeyin interfacecom.azure.core.cryptography.AsyncKeyEncryptionKey
-
-