Package org.keycloak.keys
Class GeneratedEcdsaKeyProviderFactory
java.lang.Object
org.keycloak.keys.AbstractEcKeyProviderFactory<T>
org.keycloak.keys.AbstractGeneratedEcKeyProviderFactory<KeyProvider>
org.keycloak.keys.GeneratedEcdsaKeyProviderFactory
- All Implemented Interfaces:
ComponentFactory<KeyProvider,
,KeyProvider> KeyProviderFactory<KeyProvider>
,ConfiguredProvider
,ProviderFactory<KeyProvider>
public class GeneratedEcdsaKeyProviderFactory
extends AbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
protected static ProviderConfigProperty
static final String
static final String
static final String
Fields inherited from class org.keycloak.keys.AbstractEcKeyProviderFactory
DEFAULT_EC_ELLIPTIC_CURVE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertECDomainParmNistRepToJWSAlgorithm
(String ecInNistRep) static String
convertJWSAlgorithmToECDomainParmNistRep
(String algorithm) create
(KeycloakSession session, ComponentModel model) protected String
protected String
protected String
getEcEllipticCurveKey
(String algorithm) protected ProviderConfigProperty
protected String
protected String
getId()
protected org.jboss.logging.Logger
protected boolean
isSupportedEcAlgorithm
(String algorithm) protected boolean
isValidKeyUse
(KeyUse keyUse) Methods inherited from class org.keycloak.keys.AbstractGeneratedEcKeyProviderFactory
createFallbackKeys, generateKeys, getCurveFromPublicKey, validateConfiguration
Methods inherited from class org.keycloak.keys.AbstractEcKeyProviderFactory
configurationBuilder, convertECDomainParmNistRepToSecRep, generateEcKeyPair
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
dependsOn, getConfigMetadata, order
-
Field Details
-
ECDSA_PRIVATE_KEY_KEY
- See Also:
-
ECDSA_PUBLIC_KEY_KEY
- See Also:
-
ECDSA_ELLIPTIC_CURVE_KEY
- See Also:
-
ECDSA_ELLIPTIC_CURVE_PROPERTY
-
ID
- See Also:
-
DEFAULT_ECDSA_ELLIPTIC_CURVE
- See Also:
-
-
Constructor Details
-
GeneratedEcdsaKeyProviderFactory
public GeneratedEcdsaKeyProviderFactory()
-
-
Method Details
-
create
-
getHelpText
-
getConfigProperties
-
getId
-
getLogger
protected org.jboss.logging.Logger getLogger()- Specified by:
getLogger
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
isValidKeyUse
- Specified by:
isValidKeyUse
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
isSupportedEcAlgorithm
- Specified by:
isSupportedEcAlgorithm
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcEllipticCurveKey
- Specified by:
getEcEllipticCurveKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcEllipticCurveProperty
- Specified by:
getEcEllipticCurveProperty
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcEllipticCurveKey
- Specified by:
getEcEllipticCurveKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcPrivateKeyKey
- Specified by:
getEcPrivateKeyKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcPublicKeyKey
- Specified by:
getEcPublicKeyKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getDefaultEcEllipticCurve
- Specified by:
getDefaultEcEllipticCurve
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
convertECDomainParmNistRepToJWSAlgorithm
-
convertJWSAlgorithmToECDomainParmNistRep
-