public class SignerFactory
extends java.lang.Object
| Constructor | Description |
|---|---|
SignerFactory(MacFactory macFactory,
PrivateKeySignatureFactory privateKeySignatureFactory,
JwtSerde jwtSerde,
java.util.Base64.Encoder encoder) |
| Modifier and Type | Method | Description |
|---|---|---|
Signer |
makeMacSigner(Algorithm alg,
Key key) |
|
Signer |
makeSigner(Algorithm alg,
Key jwk) |
public SignerFactory(MacFactory macFactory, PrivateKeySignatureFactory privateKeySignatureFactory, JwtSerde jwtSerde, java.util.Base64.Encoder encoder)
public Signer makeSigner(Algorithm alg, Key jwk) throws InvalidAlgorithmException, InvalidJsonWebKeyException
public Signer makeMacSigner(Algorithm alg, Key key) throws InvalidAlgorithmException, InvalidJsonWebKeyException