public interface KeyProvider
KeyProvider is responsible to provide keys used for signing and
validating of JWT tokens.| Modifier and Type | Method and Description |
|---|---|
KeyType |
getKeyType(String keyId)
Get the type of the related key.
|
String |
getPrivateKey(String keyId)
Get private key for given key id.
|
String |
getPublicKey(String keyId)
Get public key for given key id.
|
String getPrivateKey(String keyId)
keyId - Unique id of the desired key.String getPublicKey(String keyId)
keyId - Unique id of the desired key.Copyright © 2017 S&C Software. All rights reserved.