Package org.bouncycastle.crypto
Interface SignatureWithMessageRecoveryOperatorFactory<T extends Parameters>
- Type Parameters:
T
- the parameter type for the signers and verifiers we produce.
- All Superinterfaces:
SignatureOperatorFactory<T>
- All Known Implementing Classes:
RSA.SignatureWithMessageRecoveryOperatorFactory
public interface SignatureWithMessageRecoveryOperatorFactory<T extends Parameters>
extends SignatureOperatorFactory<T>
Interface describing an operator factory that produces signers and verifiers for
algorithms that support message recovery.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSigner
(AsymmetricPrivateKey key, T parameters) Create a signer which will create signatures against data written to its output stream.createVerifier
(AsymmetricPublicKey key, T parameters) Create a verifier which will verify signatures against data written to its output stream.Methods inherited from interface org.bouncycastle.crypto.SignatureOperatorFactory
createValidator
-
Method Details
-
createSigner
Create a signer which will create signatures against data written to its output stream.- Specified by:
createSigner
in interfaceSignatureOperatorFactory<T extends Parameters>
- Parameters:
key
- the signing key to use.parameters
- the parameters to use to initialize the signer.- Returns:
- an OutputSigner.
-
createVerifier
Create a verifier which will verify signatures against data written to its output stream.- Specified by:
createVerifier
in interfaceSignatureOperatorFactory<T extends Parameters>
- Parameters:
key
- the verification key to use.parameters
- the parameters to use to initialize the verifier.- Returns:
- an OutputVerifier.
-