Package org.keycloak.keys
Class AbstractEddsaKeyProviderFactory
java.lang.Object
org.keycloak.keys.AbstractEddsaKeyProviderFactory
- All Implemented Interfaces:
ComponentFactory
,KeyProviderFactory
,ConfiguredProvider
,ProviderFactory
- Direct Known Subclasses:
GeneratedEddsaKeyProviderFactory
- Author:
- Takashi Norimatsu
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static ProviderConfigProperty
protected static final String
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final ProviderConfigurationBuilder
static KeyPair
generateEddsaKeyPair
(String curveName) 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
getConfigMetadata, getId, order
-
Field Details
-
EDDSA_PRIVATE_KEY_KEY
- See Also:
-
EDDSA_PUBLIC_KEY_KEY
- See Also:
-
EDDSA_ELLIPTIC_CURVE_KEY
- See Also:
-
DEFAULT_EDDSA_ELLIPTIC_CURVE
- See Also:
-
EDDSA_ELLIPTIC_CURVE_PROPERTY
-
-
Constructor Details
-
AbstractEddsaKeyProviderFactory
public AbstractEddsaKeyProviderFactory()
-
-
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
- Throws:
ComponentValidationException
-
generateEddsaKeyPair
-