public abstract class BcContentSignerBuilder extends Object
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(SecureRandom random) |
public BcContentSignerBuilder(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier digAlgId)
public BcContentSignerBuilder setSecureRandom(SecureRandom random)
public ContentSigner build(AsymmetricKeyParameter privateKey) throws OperatorCreationException
OperatorCreationException
protected abstract Signer createSigner(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier algorithmIdentifier) throws OperatorCreationException
OperatorCreationException
Copyright © 2015. All rights reserved.