Package org.keycloak.keys
Class AbstractGeneratedSecretKeyProvider
- java.lang.Object
-
- org.keycloak.keys.AbstractGeneratedSecretKeyProvider
-
- All Implemented Interfaces:
KeyProvider
,Provider
- Direct Known Subclasses:
GeneratedAesKeyProvider
,GeneratedHmacKeyProvider
public abstract class AbstractGeneratedSecretKeyProvider extends Object implements KeyProvider
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description AbstractGeneratedSecretKeyProvider(ComponentModel model, KeyUse use, String type, String algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Stream<KeyWrapper>
getKeysStream()
Returns theKeyWrapper
for aKeyProvider
.
-
-
-
Constructor Detail
-
AbstractGeneratedSecretKeyProvider
public AbstractGeneratedSecretKeyProvider(ComponentModel model, KeyUse use, String type, String algorithm)
-
-
Method Detail
-
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
.
-
close
public void close()
- Specified by:
close
in interfaceKeyProvider
- Specified by:
close
in interfaceProvider
-
-