CachingKeyResolver 类

定义

The key resolver that caches the key after resolving to IKey.

public class CachingKeyResolver implements IKeyResolver
继承
java.lang.Object
CachingKeyResolver

构造函数

CachingKeyResolver(int capacity, final IKeyResolver keyResolver)

Constructor.

方法

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.

适用于