Bouncy Castle Cryptography Library 1.79

org.bouncycastle.operator.bc
Class BcContentSignerBuilder

java.lang.Object
  |
  +--org.bouncycastle.operator.bc.BcContentSignerBuilder
Direct Known Subclasses:
BcDSAContentSignerBuilder, BcECContentSignerBuilder, BcEdECContentSignerBuilder, BcRSAContentSignerBuilder

public abstract class BcContentSignerBuilder
extends java.lang.Object


Field Summary
protected  BcDigestProvider digestProvider
           
 
Constructor Summary
BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId)
           
 
Method Summary
 ContentSigner build(org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey)
           
protected abstract  org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
           
 BcContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

digestProvider

protected BcDigestProvider digestProvider
Constructor Detail

BcContentSignerBuilder

public BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
                              org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId)
Method Detail

setSecureRandom

public BcContentSignerBuilder setSecureRandom(java.security.SecureRandom random)

build

public ContentSigner build(org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey)
                    throws OperatorCreationException

createSigner

protected abstract org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
                                                               org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
                                                        throws OperatorCreationException

Bouncy Castle Cryptography Library 1.79