Package org.keycloak.keys
Class GeneratedEcdhKeyProviderFactory
java.lang.Object
org.keycloak.keys.AbstractEcKeyProviderFactory<T>
org.keycloak.keys.AbstractGeneratedEcKeyProviderFactory<KeyProvider>
org.keycloak.keys.GeneratedEcdhKeyProviderFactory
- All Implemented Interfaces:
ComponentFactory<KeyProvider,
,KeyProvider> KeyProviderFactory<KeyProvider>
,ConfiguredProvider
,ProviderFactory<KeyProvider>
public class GeneratedEcdhKeyProviderFactory
extends AbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
protected static ProviderConfigProperty
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
convertECDomainParmNistRepToJWEAlgorithm
(String ecInNistRep) static String
convertJWEAlgorithmToECDomainParmNistRep
(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
-
DEFAULT_ECDH_ELLIPTIC_CURVE
- See Also:
-
ECDH_ALGORITHM_KEY
- See Also:
-
ECDH_ELLIPTIC_CURVE_KEY
- See Also:
-
ECDH_PRIVATE_KEY_KEY
- See Also:
-
ECDH_PUBLIC_KEY_KEY
- See Also:
-
ECDH_ELLIPTIC_CURVE_PROPERTY
-
ECDH_ALGORITHM_PROPERTY
-
ID
- See Also:
-
-
Constructor Details
-
GeneratedEcdhKeyProviderFactory
public GeneratedEcdhKeyProviderFactory()
-
-
Method Details
-
convertECDomainParmNistRepToJWEAlgorithm
-
convertJWEAlgorithmToECDomainParmNistRep
-
create
-
getConfigProperties
-
getDefaultEcEllipticCurve
- Specified by:
getDefaultEcEllipticCurve
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcEllipticCurveKey
- Specified by:
getEcEllipticCurveKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcEllipticCurveKey
- Specified by:
getEcEllipticCurveKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcEllipticCurveProperty
- Specified by:
getEcEllipticCurveProperty
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcPrivateKeyKey
- Specified by:
getEcPrivateKeyKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getEcPublicKeyKey
- Specified by:
getEcPublicKeyKey
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
getHelpText
-
getId
-
getLogger
protected org.jboss.logging.Logger getLogger()- Specified by:
getLogger
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
isSupportedEcAlgorithm
- Specified by:
isSupportedEcAlgorithm
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-
isValidKeyUse
- Specified by:
isValidKeyUse
in classAbstractGeneratedEcKeyProviderFactory<KeyProvider>
-