Package org.bouncycastle.crypto.fips
Class FipsSignatureOperatorFactory<T extends Parameters>
java.lang.Object
org.bouncycastle.crypto.fips.FipsSignatureOperatorFactory<T>
- Type Parameters:
T
- the parameters type associated with the final implementation of this factory.
- All Implemented Interfaces:
SignatureOperatorFactory<T>
- Direct Known Subclasses:
FipsDSA.OperatorFactory
,FipsEC.DSAOperatorFactory
,FipsEdEC.EdDSAOperatorFactory
,FipsLMS.OperatorFactory
,FipsRSA.SignatureOperatorFactory
public abstract class FipsSignatureOperatorFactory<T extends Parameters>
extends Object
implements SignatureOperatorFactory<T>
Base class for the approved mode SignatureOperatorFactory implementations.
-
Method Summary
Modifier and TypeMethodDescriptionabstract FipsOutputSigner<T>
createSigner
(AsymmetricPrivateKey key, T parameters) Create a signer which will create signatures against data written to its output stream.abstract FipsOutputVerifier<T>
createVerifier
(AsymmetricPublicKey key, T parameters) Create a verifier which will verify signatures against data written to its output stream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bouncycastle.crypto.SignatureOperatorFactory
createValidator
-
Method Details
-
createSigner
Description copied from interface:SignatureOperatorFactory
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
Description copied from interface:SignatureOperatorFactory
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.
-