Bouncy Castle Cryptography Library 1.46

org.bouncycastle.operator.bc
Class BcContentSignerBuilder

java.lang.Object
  extended by org.bouncycastle.operator.bc.BcContentSignerBuilder
Direct Known Subclasses:
BcRSAContentSignerBuilder

public abstract class BcContentSignerBuilder
extends java.lang.Object


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
 

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
Throws:
OperatorCreationException

createSigner

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

Bouncy Castle Cryptography Library 1.46