public abstract class BcContentSignerBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BcDigestProvider |
digestProvider |
Constructor and Description |
---|
BcContentSignerBuilder(AlgorithmIdentifier sigAlgId,
AlgorithmIdentifier digAlgId) |
Modifier and Type | Method and Description |
---|---|
ContentSigner |
build(AsymmetricKeyParameter privateKey) |
protected abstract Signer |
createSigner(AlgorithmIdentifier sigAlgId,
AlgorithmIdentifier algorithmIdentifier) |
BcContentSignerBuilder |
setSecureRandom(java.security.SecureRandom random) |
protected BcDigestProvider digestProvider
public BcContentSignerBuilder(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier digAlgId)
public BcContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
public ContentSigner build(AsymmetricKeyParameter privateKey) throws OperatorCreationException
OperatorCreationException
protected abstract Signer createSigner(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier algorithmIdentifier) throws OperatorCreationException
OperatorCreationException