Package org.keycloak.keys
Class GeneratedEcdsaKeyProviderFactory
java.lang.Object
org.keycloak.keys.AbstractEcdsaKeyProviderFactory
org.keycloak.keys.GeneratedEcdsaKeyProviderFactory
- All Implemented Interfaces:
ComponentFactory
,KeyProviderFactory
,ConfiguredProvider
,ProviderFactory
-
Field Summary
Fields inherited from class org.keycloak.keys.AbstractEcdsaKeyProviderFactory
ECDSA_ELLIPTIC_CURVE_KEY, ECDSA_ELLIPTIC_CURVE_PROPERTY, ECDSA_PRIVATE_KEY_KEY, ECDSA_PUBLIC_KEY_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session, ComponentModel model) boolean
createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) getId()
void
validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) Called before a component is created or updated.Methods inherited from class org.keycloak.keys.AbstractEcdsaKeyProviderFactory
configurationBuilder, convertAlgorithmToECDomainParmNistRep, convertECDomainParmNistRepToAlgorithm, convertECDomainParmNistRepToSecRep, generateEcdsaKeyPair
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
Methods inherited from interface org.keycloak.keys.KeyProviderFactory
close, init, postInit
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Field Details
-
ID
- See Also:
-
DEFAULT_ECDSA_ELLIPTIC_CURVE
- See Also:
-
-
Constructor Details
-
GeneratedEcdsaKeyProviderFactory
public GeneratedEcdsaKeyProviderFactory()
-
-
Method Details
-
create
-
createFallbackKeys
-
getHelpText
-
getConfigProperties
-
getId
-
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
- Overrides:
validateConfiguration
in classAbstractEcdsaKeyProviderFactory
- Throws:
ComponentValidationException
-