public abstract class BcContentSignerBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BcDigestProvider |
digestProvider |
Constructor and Description |
---|
BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId) |
Modifier and Type | Method and Description |
---|---|
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) |
protected BcDigestProvider digestProvider
public BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId)
public BcContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
public ContentSigner build(org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey) throws OperatorCreationException
OperatorCreationException
protected abstract org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) throws OperatorCreationException
OperatorCreationException