public class KeyVaultKeyResolver extends Object implements com.microsoft.azure.keyvault.core.IKeyResolver
IKey
to be used for cryptography operations.| Constructor and Description |
|---|
KeyVaultKeyResolver(com.microsoft.azure.keyvault.KeyVaultClient client)
Constructor.
|
KeyVaultKeyResolver(com.microsoft.azure.keyvault.KeyVaultClient client,
Provider provider)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<com.microsoft.azure.keyvault.core.IKey> |
resolveKeyAsync(String kid) |
public KeyVaultKeyResolver(com.microsoft.azure.keyvault.KeyVaultClient client)
client - the key vault clientpublic KeyVaultKeyResolver(com.microsoft.azure.keyvault.KeyVaultClient client,
Provider provider)
client - the key vault clientprovider - the java security providerpublic com.google.common.util.concurrent.ListenableFuture<com.microsoft.azure.keyvault.core.IKey> resolveKeyAsync(String kid)
resolveKeyAsync in interface com.microsoft.azure.keyvault.core.IKeyResolver/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/