public interface KeyProvider
Modifier and Type | Interface and Description |
---|---|
static class |
KeyProvider.Tuple
A tuple containing a key and its (optional) corresponding ID.
|
Modifier and Type | Method and Description |
---|---|
KeyProvider.Tuple |
currentKey()
Gets the current key to use for signature or encryption operations.
|
Optional<Key> |
retrieveKey(String id)
Retrieves a key to use for signature validation or decryption operations.
|
KeyProvider.Tuple currentKey()
Copyright © 2019. All rights reserved.