### YamlMime:JavaType uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey" fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey" name: "AsyncKeyEncryptionKey" nameWithType: "AsyncKeyEncryptionKey" summary: "The AsyncKeyEncryptionKey defines asynchronous methods for encrypting and decrypting keys, also known as key wrapping and unwrapping." syntax: "public interface **AsyncKeyEncryptionKey**" methods: - uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey.getKeyId()" fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey.getKeyId()" name: "getKeyId()" nameWithType: "AsyncKeyEncryptionKey.getKeyId()" summary: "Retrieves the key identifier." modifiers: - "abstract" syntax: "public abstract Mono getKeyId()" desc: "Retrieves the key identifier." returns: description: "A containing key identifier." type: "Mono<String>" - uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey.unwrapKey(java.lang.String,byte[])" fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey.unwrapKey(String algorithm, byte[] encryptedKey)" name: "unwrapKey(String algorithm, byte[] encryptedKey)" nameWithType: "AsyncKeyEncryptionKey.unwrapKey(String algorithm, byte[] encryptedKey)" summary: "Decrypts the specified encrypted key using the specified algorithm." modifiers: - "abstract" parameters: - description: "The key wrap algorithm which was used to encrypt the specified encrypted key." name: "algorithm" type: "String" - description: "The encrypted key content to be decrypted." name: "encryptedKey" type: "[]" syntax: "public abstract Mono unwrapKey(String algorithm, byte[] encryptedKey)" desc: "Decrypts the specified encrypted key using the specified algorithm." returns: description: "A containing the decrypted key bytes." type: "Mono<[]>" - uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey.wrapKey(java.lang.String,byte[])" fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey.wrapKey(String algorithm, byte[] key)" name: "wrapKey(String algorithm, byte[] key)" nameWithType: "AsyncKeyEncryptionKey.wrapKey(String algorithm, byte[] key)" summary: "Encrypts the specified key using the specified algorithm." modifiers: - "abstract" parameters: - description: "The key wrap algorithm used to encrypt the specified key." name: "algorithm" type: "String" - description: "The key content to be encrypted." name: "key" type: "[]" syntax: "public abstract Mono wrapKey(String algorithm, byte[] key)" desc: "Encrypts the specified key using the specified algorithm." returns: description: "A containing the encrypted key bytes." type: "Mono<[]>" type: "interface" desc: "The AsyncKeyEncryptionKey defines asynchronous methods for encrypting and decrypting keys, also known as key wrapping and unwrapping. It also supports signing and verifying data using the configured key." metadata: {} package: "com.azure.core.cryptography" artifact: com.azure:azure-core:1.54.0