BcDSAContentSignerBuilder
, BcECContentSignerBuilder
, BcRSAContentSignerBuilder
public abstract class BcContentSignerBuilder
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected BcDigestProvider |
digestProvider |
Constructor | Description |
---|---|
BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId) |
Modifier and Type | Method | 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