Top Description Methods
org.bouncycastle.crypto

public Interface SignatureOperatorFactory<T extends Parameters>

Known Direct Subinterfaces
org.bouncycastle.crypto.SignatureWithMessageRecoveryOperatorFactory
Known Direct Implementers
org.bouncycastle.crypto.fips.FipsSignatureOperatorFactory, org.bouncycastle.crypto.general.GuardedSignatureOperatorFactory, org.bouncycastle.crypto.general.GuardedSignatureOperatorUsingSecureRandomFactory, org.bouncycastle.jcajce.provider.ProvRSA.AdaptiveSignatureOperatorFactory, org.bouncycastle.jcajce.provider.ProvDSA.AdaptiveSignatureOperatorFactory
Type Parameters
<T>
the parameter type for the signers and verifiers we produce.

Interface describing an operator factory that produces signers and verifiers.

Method Summary

Modifier and TypeMethod and Description
public OutputSigner<T>

Returns:

an OutputSigner.
createSigner
(AsymmetricPrivateKey
the signing key to use.
key
,
T
the parameters to use to initialize the signer.
parameters
)

Create a signer which will create signatures against data written to its output stream.

public OutputVerifier<T>

Returns:

an OutputVerifier.
createVerifier
(AsymmetricPublicKey
the verification key to use.
key
,
T
the parameters to use to initialize the verifier.
parameters
)

Create a verifier which will verify signatures against data written to its output stream.

Method Detail

createSignerback to summary
public OutputSigner<T> createSigner(AsymmetricPrivateKey key, T parameters)

Create a signer which will create signatures against data written to its output stream.

Parameters
key:AsymmetricPrivateKey

the signing key to use.

parameters:T

the parameters to use to initialize the signer.

Returns:OutputSigner<T>

an OutputSigner.

createVerifierback to summary
public OutputVerifier<T> createVerifier(AsymmetricPublicKey key, T parameters)

Create a verifier which will verify signatures against data written to its output stream.

Parameters
key:AsymmetricPublicKey

the verification key to use.

parameters:T

the parameters to use to initialize the verifier.

Returns:OutputVerifier<T>

an OutputVerifier.