public interface KeyLocator
If the KeyLocator
implementor wants to make all its keys available for iteration,
it should implement Iterable
<T extends
Key
> interface.
The base KeyLocator
does not extend this interface to enable KeyLocators
that do not support listing their keys.
Modifier and Type | Method and Description |
---|---|
Key |
getKey(String kid)
Returns a key with a particular ID.
|
void |
refreshKeyCache()
If this key locator caches keys in any way, forces this cache cleanup
and refreshing the keys.
|
Key getKey(String kid) throws KeyManagementException
kid
- Key IDconfiguration
- ConfigurationKeyManagementException
void refreshKeyCache()
Copyright © 2021 JBoss by Red Hat. All rights reserved.