public class SignerFactory extends Object
| Constructor and Description |
|---|
SignerFactory(MacFactory macFactory,
PrivateKeySignatureFactory privateKeySignatureFactory,
JWTSerializer jwtSerializer,
Base64.Encoder encoder) |
| Modifier and Type | Method and Description |
|---|---|
Signer |
makeMacSigner(Algorithm alg,
Key key) |
Signer |
makeSigner(Algorithm alg,
Key jwk) |
public SignerFactory(MacFactory macFactory, PrivateKeySignatureFactory privateKeySignatureFactory, JWTSerializer jwtSerializer, Base64.Encoder encoder)
public Signer makeSigner(Algorithm alg, Key jwk) throws InvalidAlgorithmException, InvalidJsonWebKeyException
public Signer makeMacSigner(Algorithm alg, Key key) throws InvalidAlgorithmException, InvalidJsonWebKeyException
Copyright © 2017. All rights reserved.