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 Details

    • getKeyId

      public Mono<String> getKeyId()
      Get the identifier of the key to use for cryptography operations.
      Specified by:
      getKeyId in interface com.azure.core.cryptography.AsyncKeyEncryptionKey
      Returns:
      A Mono containing the key identifier.
    • wrapKey

      public Mono<byte[]> wrapKey(String algorithm, byte[] key)
      Specified by:
      wrapKey in interface com.azure.core.cryptography.AsyncKeyEncryptionKey
    • unwrapKey

      public Mono<byte[]> unwrapKey(String algorithm, byte[] encryptedKey)
      Specified by:
      unwrapKey in interface com.azure.core.cryptography.AsyncKeyEncryptionKey