org.bouncycastle.crypto.SignatureWithMessageRecoveryOperatorFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bc-fips-debug Show documentation
Show all versions of bc-fips-debug Show documentation
The FIPS 140-2 Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms certified to FIPS 140-2 level 1. This jar contains the debug version JCE provider and low-level API for the BC-FJA version 1.0.2.3, FIPS Certificate #3514. Please note the debug jar is not certified.
package org.bouncycastle.crypto;
/**
* Interface describing an operator factory that produces signers and verifiers for
* algorithms that support message recovery.
*
* @param the parameter type for the signers and verifiers we produce.
*/
public interface SignatureWithMessageRecoveryOperatorFactory
extends SignatureOperatorFactory
{
/**
* Create a signer which will create signatures against data written to
* its output stream.
*
* @param key the signing key to use.
* @param parameters the parameters to use to initialize the signer.
* @return an OutputSigner.
*/
OutputSignerWithMessageRecovery createSigner(AsymmetricPrivateKey key, T parameters);
/**
* Create a verifier which will verify signatures against data written to
* its output stream.
*
* @param key the verification key to use.
* @param parameters the parameters to use to initialize the verifier.
* @return an OutputVerifier.
*/
OutputVerifierWithMessageRecovery createVerifier(AsymmetricPublicKey key, T parameters);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy