T
- the parameter type for the signers and verifiers we produce.public interface SignatureOperatorFactory<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
OutputSigner<T> |
createSigner(AsymmetricPrivateKey key,
T parameters)
Create a signer which will create signatures against data written to
its output stream.
|
OutputVerifier<T> |
createVerifier(AsymmetricPublicKey key,
T parameters)
Create a verifier which will verify signatures against data written to
its output stream.
|
OutputSigner<T> createSigner(AsymmetricPrivateKey key, T parameters)
key
- the signing key to use.parameters
- the parameters to use to initialize the signer.OutputVerifier<T> createVerifier(AsymmetricPublicKey key, T parameters)
key
- the verification key to use.parameters
- the parameters to use to initialize the verifier.