com.azure.core.cryptography.AsyncKeyEncryptionKeyResolver Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.core.cryptography;
import reactor.core.publisher.Mono;
/**
* An object capable of asynchronously retrieving key encryption keys from a provided key identifier.
*/
public interface AsyncKeyEncryptionKeyResolver {
/**
* Retrieves the {@link AsyncKeyEncryptionKey} corresponding to the specified {@code keyId}
*
* @param keyId The key identifier of the key encryption key to retrieve
* @return The key encryption key corresponding to the specified {@code keyId}
*/
Mono extends AsyncKeyEncryptionKey> buildAsyncKeyEncryptionKey(String keyId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy