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 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.
      • setJWSSignerFactory

        void setJWSSignerFactory​(JWSSignerFactory jwsSignerFactory)
        Sets the factory for generating JWSSigners.
        Parameters:
        jwsSignerFactory - The JWS signer factory to use.