All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.crypto.SignatureOperatorFactory Maven / Gradle / Ivy

Go to download

The FIPS 140-3 Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms certified to FIPS 140-3 level 1. This jar contains JCE provider and low-level API for the BC-FJA version 2.0.0, FIPS Certificate #4743. Please see certificate for certified platform details.

There is a newer version: 2.0.0
Show newest version
package org.bouncycastle.crypto;

/**
 * Interface describing an operator factory that produces signers and verifiers.
 *
 * @param  the parameter type for the signers and verifiers we produce.
 */
public interface 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.
     */
    OutputSigner 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.
     */
    OutputVerifier createVerifier(AsymmetricPublicKey key, T parameters);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy