Package org.bouncycastle.operator.jcajce
Class JcaContentSignerBuilder
- java.lang.Object
-
- org.bouncycastle.operator.jcajce.JcaContentSignerBuilder
-
public class JcaContentSignerBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JcaContentSignerBuilder(java.lang.String signatureAlgorithm)
JcaContentSignerBuilder(java.lang.String signatureAlgorithm, java.security.spec.AlgorithmParameterSpec sigParamSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentSigner
build(java.security.PrivateKey privateKey)
JcaContentSignerBuilder
setProvider(java.lang.String providerName)
JcaContentSignerBuilder
setProvider(java.security.Provider provider)
JcaContentSignerBuilder
setSecureRandom(java.security.SecureRandom random)
-
-
-
Method Detail
-
setProvider
public JcaContentSignerBuilder setProvider(java.security.Provider provider)
-
setProvider
public JcaContentSignerBuilder setProvider(java.lang.String providerName)
-
setSecureRandom
public JcaContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
-
build
public ContentSigner build(java.security.PrivateKey privateKey) throws OperatorCreationException
- Throws:
OperatorCreationException
-
-