Package org.bouncycastle.operator.bc
Class BcContentSignerBuilder
java.lang.Object
org.bouncycastle.operator.bc.BcContentSignerBuilder
- Direct Known Subclasses:
BcDSAContentSignerBuilder
,BcECContentSignerBuilder
,BcEdECContentSignerBuilder
,BcRSAContentSignerBuilder
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBcContentSignerBuilder
(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(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) setSecureRandom
(SecureRandom random)
-
Field Details
-
digestProvider
-
-
Constructor Details
-
BcContentSignerBuilder
public BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId)
-
-
Method Details
-
setSecureRandom
-
build
public ContentSigner build(org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey) throws OperatorCreationException - Throws:
OperatorCreationException
-
createSigner
protected abstract org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) throws OperatorCreationException - Throws:
OperatorCreationException
-