BcDSAContentSignerBuilder, BcECContentSignerBuilder, BcRSAContentSignerBuilderpublic 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
OperatorCreationExceptionprotected abstract org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId,
org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
throws OperatorCreationException
OperatorCreationException