public interface AsyncKeyEncryptionKey
Modifier and Type | Method and Description |
---|---|
Mono<String> |
getKeyId()
Retrieves the key identifier.
|
Mono<byte[]> |
unwrapKey(String algorithm,
byte[] encryptedKey)
Decrypts the specified encrypted key using the specified algorithm.
|
Mono<byte[]> |
wrapKey(String algorithm,
byte[] key)
Encrypts the specified key using the specified algorithm.
|
Mono<String> getKeyId()
Mono
containing key identifier.Mono<byte[]> wrapKey(String algorithm, byte[] key)
algorithm
- The key wrap algorithm used to encrypt the specified key.key
- The key content to be encrypted.Mono
containing the encrypted key bytes.Mono<byte[]> unwrapKey(String algorithm, byte[] encryptedKey)
algorithm
- The key wrap algorithm which was used to encrypt the specified encrypted key.encryptedKey
- The encrypted key content to be decrypted.Mono
containing the decrypted key bytes.Copyright © 2021 Microsoft Corporation. All rights reserved.