Top Fields Constructors Methods
org.bouncycastle.operator.bc

public abstract Class BcContentSignerBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.operator.bc.BcDSAContentSignerBuilder, org.bouncycastle.operator.bc.BcECContentSignerBuilder, org.bouncycastle.operator.bc.BcEdECContentSignerBuilder, org.bouncycastle.operator.bc.BcRSAContentSignerBuilder
Imports
java.io.OutputStream, java.security.SecureRandom, java.util.Map, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.CryptoException, .Signer, org.bouncycastle.crypto.params.AsymmetricKeyParameter, .ParametersWithRandom, org.bouncycastle.operator.ContentSigner, .OperatorCreationException, .RuntimeOperatorException

Field Summary

Modifier and TypeField and Description
private AlgorithmIdentifier
protected BcDigestProvider
private SecureRandom
private AlgorithmIdentifier

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ContentSigner
protected abstract Signer
createSigner(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier algorithmIdentifier)

public BcContentSignerBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digAlgIdback to summary
private AlgorithmIdentifier digAlgId
digestProviderback to summary
protected BcDigestProvider digestProvider
randomback to summary
private SecureRandom random
sigAlgIdback to summary
private AlgorithmIdentifier sigAlgId

Constructor Detail

BcContentSignerBuilderback to summary
public BcContentSignerBuilder(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier digAlgId)

Method Detail

buildback to summary
public ContentSigner build(AsymmetricKeyParameter privateKey) throws OperatorCreationException
createSignerback to summary
protected abstract Signer createSigner(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier algorithmIdentifier) throws OperatorCreationException
setSecureRandomback to summary
public BcContentSignerBuilder setSecureRandom(SecureRandom random)