Package org.bouncycastle.operator.bc
Class BcContentSignerBuilder
- java.lang.Object
-
- org.bouncycastle.operator.bc.BcContentSignerBuilder
-
- Direct Known Subclasses:
BcDSAContentSignerBuilder
,BcECContentSignerBuilder
,BcRSAContentSignerBuilder
public abstract class BcContentSignerBuilder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BcDigestProvider
digestProvider
-
Constructor Summary
Constructors Constructor Description BcContentSignerBuilder(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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)
-
-
-
Field Detail
-
digestProvider
protected BcDigestProvider digestProvider
-
-
Method Detail
-
setSecureRandom
public BcContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
-
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
-
-