All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.core.cryptography.KeyEncryptionKeyResolver Maven / Gradle / Ivy

There is a newer version: 1.54.1
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.core.cryptography;

/**
 * An object capable of synchronously retrieving key encryption keys from a provided key identifier.
 */
public interface KeyEncryptionKeyResolver {

    /**
     * Retrieves the {@link KeyEncryptionKey} 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}
     */
    KeyEncryptionKey buildKeyEncryptionKey(String keyId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy