Top Constructors Methods
org.bouncycastle.crypto.general

pack-priv abstract Class GuardedSignatureOperatorUsingSecureRandomFactory<T extends Parameters>

extends Object
implements SignatureOperatorFactory<T extends Parameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.SignatureOperatorFactory
Known Direct Subclasses
org.bouncycastle.crypto.general.DSA.OperatorFactory
Imports
org.bouncycastle.crypto.AsymmetricPrivateKey, .AsymmetricPublicKey, .CryptoServicesRegistrar, .OutputSignerUsingSecureRandom, .OutputVerifier, .Parameters, .SignatureOperatorFactory, org.bouncycastle.crypto.fips.FipsStatus, .FipsUnapprovedOperationError

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final OutputSignerUsingSecureRandom<T>
createSigner(AsymmetricPrivateKey
the signing key to use.
key
,
T
the parameters to use to initialize the signer.
parameters
)

Implements org.bouncycastle.crypto.SignatureOperatorFactory.createSigner.

Create a signer which will create signatures against data written to its output stream.
public final OutputVerifier<T>
createVerifier(AsymmetricPublicKey
the verification key to use.
key
,
T
the parameters to use to initialize the verifier.
parameters
)

Implements org.bouncycastle.crypto.SignatureOperatorFactory.createVerifier.

Create a verifier which will verify signatures against data written to its output stream.
protected abstract OutputSignerUsingSecureRandom<T>
protected abstract OutputVerifier<T>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GuardedSignatureOperatorUsingSecureRandomFactoryback to summary
pack-priv GuardedSignatureOperatorUsingSecureRandomFactory()

Method Detail

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

Implements org.bouncycastle.crypto.SignatureOperatorFactory.createSigner.

Doc from org.bouncycastle.crypto.SignatureOperatorFactory.createSigner.

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:OutputSignerUsingSecureRandom<T>

an OutputSigner.

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

Implements org.bouncycastle.crypto.SignatureOperatorFactory.createVerifier.

Doc from org.bouncycastle.crypto.SignatureOperatorFactory.createVerifier.

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.

doCreateSignerback to summary
protected abstract OutputSignerUsingSecureRandom<T> doCreateSigner(AsymmetricPrivateKey key, T parameter)
doCreateVerifierback to summary
protected abstract OutputVerifier<T> doCreateVerifier(AsymmetricPublicKey key, T parameter)