public interface RSAKeyProvider
Modifier and Type | Method and Description |
---|---|
R |
getPrivateKey()
Getter for the Private Key instance.
|
java.lang.String |
getPrivateKeyId()
Getter for the Id of the Private Key used to sign the tokens.
|
U |
getPublicKeyById(java.lang.String keyId)
Getter for the Public Key instance with the given Id.
|
U getPublicKeyById(java.lang.String keyId)
keyId
- the Key Id specified in the Token's Header or null if none is available. Provides a hint on which Public Key to use to verify the token's signature.R getPrivateKey()
java.lang.String getPrivateKeyId()