AsyncKeyEncryptionKey Interface
public interface AsyncKeyEncryptionKey
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.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Mono<String> |
getKeyId()
Retrieves the key identifier. |
abstract Mono<byte[]> |
unwrapKey(String algorithm, byte[] encryptedKey)
Decrypts the specified encrypted key using the specified algorithm. |
abstract Mono<byte[]> |
wrapKey(String algorithm, byte[] key)
Encrypts the specified key using the specified algorithm. |
Method Details
getKeyId
public abstract Mono
Retrieves the key identifier.
Returns:
unwrapKey
public abstract Mono
Decrypts the specified encrypted key using the specified algorithm.
Parameters:
Returns:
wrapKey
public abstract Mono
Encrypts the specified key using the specified algorithm.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for