public interface AuthorityKeyProvider extends KeyProvider
AuthorityKeyProvider is an extension of KeyProvider which is responsible to provide keys used for signing and
validating of JWT tokens. This class has additional functionalities to support JWT authority.| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentSigningKeyId()
Get current key id for signing JWT token.
|
io.jsonwebtoken.SignatureAlgorithm |
getSignatureAlgorithm(String keyId)
Get the signature algorithm of the related key.
|
getKeyType, getPrivateKey, getPublicKeyString getCurrentSigningKeyId()
io.jsonwebtoken.SignatureAlgorithm getSignatureAlgorithm(String keyId)
keyId - Unique id of the related key.SignatureAlgorithm value.Copyright © 2017 S&C Software. All rights reserved.