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
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 |
digestProvider
protected BcDigestProvider digestProvider
BcContentSignerBuilder
public BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId)
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