Package org.keycloak.keys
Class AbstractEcdsaKeyProvider
- java.lang.Object
-
- org.keycloak.keys.AbstractEcdsaKeyProvider
-
- All Implemented Interfaces:
KeyProvider
,Provider
- Direct Known Subclasses:
GeneratedEcdsaKeyProvider
public abstract class AbstractEcdsaKeyProvider extends Object implements KeyProvider
-
-
Constructor Summary
Constructors Constructor Description AbstractEcdsaKeyProvider(RealmModel realm, ComponentModel model)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected KeyWrapper
createKeyWrapper(KeyPair keyPair, String ecInNistRep)
Stream<KeyWrapper>
getKeysStream()
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 Detail
-
AbstractEcdsaKeyProvider
public AbstractEcdsaKeyProvider(RealmModel realm, ComponentModel model)
-
-
Method Detail
-
loadKey
protected abstract KeyWrapper loadKey(RealmModel realm, ComponentModel model)
-
getKeysStream
public Stream<KeyWrapper> getKeysStream()
Description copied from interface:KeyProvider
Returns theKeyWrapper
for aKeyProvider
.- Specified by:
getKeysStream
in interfaceKeyProvider
- Returns:
- Returns the
KeyWrapper
for aKeyProvider
.
-
createKeyWrapper
protected KeyWrapper createKeyWrapper(KeyPair keyPair, String ecInNistRep)
-
-