Module io.inverno.mod.security.jose
Class AbstractOKPJWKFactory<A extends PublicKey,B extends PrivateKey,C extends AbstractOKPJWK<A,B>,D extends AbstractOKPJWKBuilder<A,B,C,D>,E extends AbstractOKPJWKGenerator<A,B,C,E>>
java.lang.Object
io.inverno.mod.security.jose.internal.jwk.AbstractJWKFactory<C,D,E>
io.inverno.mod.security.jose.internal.jwk.AbstractX509JWKFactory<A,B,C,D,E>
io.inverno.mod.security.jose.internal.jwk.okp.AbstractOKPJWKFactory<A,B,C,D,E>
- Type Parameters:
A- the public key typeB- the private key typeC- the Octet Key Pair JWK typeD- the Octet Key Pair JWK builder typeE- the Octet Key Pair JWK generator type
- All Implemented Interfaces:
JWKFactory<C,,D, E> OKPJWKFactory<A,,B, C, D, E> X509JWKFactory<A,B, C, D, E>
- Direct Known Subclasses:
GenericEdECJWKFactory,GenericXECJWKFactory
public abstract class AbstractOKPJWKFactory<A extends PublicKey,B extends PrivateKey,C extends AbstractOKPJWK<A,B>,D extends AbstractOKPJWKBuilder<A,B,C,D>,E extends AbstractOKPJWKGenerator<A,B,C,E>>
extends AbstractX509JWKFactory<A,B,C,D,E>
implements OKPJWKFactory<A,B,C,D,E>
Base Octet Key Pair JSON Web Key factory implementation.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Field Summary
Fields inherited from class io.inverno.mod.security.jose.internal.jwk.AbstractX509JWKFactory
certPathValidator, urlResolverFields inherited from class io.inverno.mod.security.jose.internal.jwk.AbstractJWKFactory
configuration, jwkStore, keyResolver, mapper -
Constructor Summary
ConstructorsConstructorDescriptionAbstractOKPJWKFactory(JOSEConfiguration configuration, JWKStore jwkStore, JWKKeyResolver keyResolver, com.fasterxml.jackson.databind.ObjectMapper mapper, JWKURLResolver urlResolver, X509JWKCertPathValidator certPathValidator) Creates an OKP JWK factory. -
Method Summary
Methods inherited from class io.inverno.mod.security.jose.internal.jwk.AbstractJWKFactory
builder, generate, generator, read, readMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.inverno.mod.security.jose.jwk.JWKFactory
builder, generate, generator, read, read, supportsAlgorithm
-
Constructor Details
-
AbstractOKPJWKFactory
public AbstractOKPJWKFactory(JOSEConfiguration configuration, JWKStore jwkStore, JWKKeyResolver keyResolver, com.fasterxml.jackson.databind.ObjectMapper mapper, JWKURLResolver urlResolver, X509JWKCertPathValidator certPathValidator) Creates an OKP JWK factory.
- Parameters:
configuration- the JOSE module configurationjwkStore- a JWK storekeyResolver- a JWK key resolvermapper- an object mapperurlResolver- a JWK URL resolvercertPathValidator- an X.509 certificate path validator
-
-
Method Details
-
supports
Description copied from interface:JWKFactoryDetermines whether the factory supports the specified key type.
- Specified by:
supportsin interfaceJWKFactory<A extends PublicKey,B extends PrivateKey, C extends AbstractOKPJWK<A, B>> - Parameters:
kty- a JWA key type- Returns:
- true if the factory supports the key type, false otherwise
-