Package com.nimbusds.jose.mint
Interface JWSMinterConfiguration<C extends SecurityContext>
-
- All Known Subinterfaces:
ConfigurableJWSMinter<C>
- All Known Implementing Classes:
DefaultJWSMinter
public interface JWSMinterConfiguration<C extends SecurityContext>
JSON Web Signature (JWS) minter configuration.Specifies the required components to mint JWS objects:
- JWK source to determine key candidate(s) for the JWS based on the JWS header and application-specific context information.
- Optional JWS signer factory. Creates the appropriate
JWSSigner
for signing the object.
- Version:
- 2021-01-14
- Author:
- Josh Cummings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JWKSource<C>
getJWKSource()
Gets the source for looking up JWKs.JWSSignerFactory
getJWSSignerFactory()
Gets the factory for generatingJWSSigner
s.void
setJWKSource(JWKSource<C> jwkSource)
Sets the source for to look up JWKs from.void
setJWSSignerFactory(JWSSignerFactory jwsSignerFactory)
Sets the factory for generatingJWSSigner
s.
-
-
-
Method Detail
-
getJWKSource
JWKSource<C> getJWKSource()
Gets the source for looking up JWKs.- Returns:
- The
JWKSource
in use.
-
setJWKSource
void setJWKSource(JWKSource<C> jwkSource)
Sets the source for to look up JWKs from.- Parameters:
jwkSource
- The JWK source to use.
-
getJWSSignerFactory
JWSSignerFactory getJWSSignerFactory()
Gets the factory for generatingJWSSigner
s.- Returns:
- The
JWSSignerFactory
in use.
-
setJWSSignerFactory
void setJWSSignerFactory(JWSSignerFactory jwsSignerFactory)
Sets the factory for generatingJWSSigner
s.- Parameters:
jwsSignerFactory
- The JWS signer factory to use.
-
-