IKeyResolver Interface

public interface IKeyResolver

Interface for representing key resolving operations with the Microsoft Azure Key Vault libraries.

Method Summary

Modifier and Type Method and Description
ListenableFuture<IKey> resolveKeyAsync(String kid)

Retrieves an IKey implementation for the specified key identifier. Implementations should check the format of the kid to ensure that it is recognized. Null, rather than an exception, should be returned for unrecognized key identifiers to enable chaining of key resolvers.

Method Details

resolveKeyAsync

public ListenableFuture resolveKeyAsync(String kid)

Retrieves an IKey implementation for the specified key identifier. Implementations should check the format of the kid to ensure that it is recognized. Null, rather than an exception, should be returned for unrecognized key identifiers to enable chaining of key resolvers.

Parameters:

kid - The key identifier to resolve.

Returns:

A ListenableFuture containing the resolved IKey

Applies to