public abstract class BcContentSignerBuilder extends 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(SecureRandom random) |
protected BcDigestProvider digestProvider
public BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId)
public BcContentSignerBuilder setSecureRandom(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
Copyright © 2017 BouncyCastle.org. All rights reserved.