Package org.keycloak.keys
Class AbstractEcKeyProviderFactory<T extends KeyProvider>
java.lang.Object
org.keycloak.keys.AbstractEcKeyProviderFactory<T>
- All Implemented Interfaces:
ComponentFactory<T,
,KeyProvider> KeyProviderFactory<T>
,ConfiguredProvider
,ProviderFactory<KeyProvider>
- Direct Known Subclasses:
AbstractGeneratedEcKeyProviderFactory
public abstract class AbstractEcKeyProviderFactory<T extends KeyProvider>
extends Object
implements KeyProviderFactory<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final ProviderConfigurationBuilder
static String
convertECDomainParmNistRepToSecRep
(String ecInNistRep) static KeyPair
generateEcKeyPair
(String keySpecName) void
validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) Called before a component is created or updated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.component.ComponentFactory
create, getCommonProviderConfigProperties, getTypeMetadata, onCreate, onUpdate, preRemove
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig, getConfigProperties, getHelpText
Methods inherited from interface org.keycloak.keys.KeyProviderFactory
close, create, createFallbackKeys, init, postInit
Methods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, getId, order
-
Field Details
-
DEFAULT_EC_ELLIPTIC_CURVE
- See Also:
-
-
Constructor Details
-
AbstractEcKeyProviderFactory
public AbstractEcKeyProviderFactory()
-
-
Method Details
-
configurationBuilder
-
validateConfiguration
public void validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model) throws ComponentValidationException Description copied from interface:ComponentFactory
Called before a component is created or updated. Allows you to validate the configuration- Specified by:
validateConfiguration
in interfaceComponentFactory<T extends KeyProvider,
KeyProvider> - Throws:
ComponentValidationException
-
generateEcKeyPair
-
convertECDomainParmNistRepToSecRep
-