Package org.keycloak.keys
Class AbstractRsaKeyProvider
java.lang.Object
org.keycloak.keys.AbstractRsaKeyProvider
- All Implemented Interfaces:
KeyProvider
,Provider
- Direct Known Subclasses:
ImportedRsaKeyProvider
,JavaKeystoreKeyProvider
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected KeyWrapper
createKeyWrapper
(KeyPair keyPair, X509Certificate certificate, List<X509Certificate> certificateChain, KeyUse keyUse) protected KeyWrapper
createKeyWrapper
(KeyPair keyPair, X509Certificate certificate, KeyUse keyUse) Returns theKeyWrapper
for aKeyProvider
.protected abstract KeyWrapper
loadKey
(RealmModel realm, ComponentModel model) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.keys.KeyProvider
close
-
Constructor Details
-
AbstractRsaKeyProvider
-
-
Method Details
-
loadKey
-
getKeysStream
Description copied from interface:KeyProvider
Returns theKeyWrapper
for aKeyProvider
.- Specified by:
getKeysStream
in interfaceKeyProvider
- Returns:
- Returns the
KeyWrapper
for aKeyProvider
.
-
createKeyWrapper
-
createKeyWrapper
protected KeyWrapper createKeyWrapper(KeyPair keyPair, X509Certificate certificate, List<X509Certificate> certificateChain, KeyUse keyUse)
-