Package org.bouncycastle.pkcs.jcajce
Class JcePKCS12MacCalculatorBuilder
- java.lang.Object
-
- org.bouncycastle.pkcs.jcajce.JcePKCS12MacCalculatorBuilder
-
- All Implemented Interfaces:
PKCS12MacCalculatorBuilder
public class JcePKCS12MacCalculatorBuilder extends java.lang.Object implements PKCS12MacCalculatorBuilder
-
-
Constructor Summary
Constructors Constructor Description JcePKCS12MacCalculatorBuilder()
JcePKCS12MacCalculatorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier hashAlgorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.operator.MacCalculator
build(char[] password)
org.bouncycastle.asn1.x509.AlgorithmIdentifier
getDigestAlgorithmIdentifier()
JcePKCS12MacCalculatorBuilder
setIterationCount(int iterationCount)
JcePKCS12MacCalculatorBuilder
setProvider(java.lang.String providerName)
JcePKCS12MacCalculatorBuilder
setProvider(java.security.Provider provider)
-
-
-
Method Detail
-
setProvider
public JcePKCS12MacCalculatorBuilder setProvider(java.security.Provider provider)
-
setProvider
public JcePKCS12MacCalculatorBuilder setProvider(java.lang.String providerName)
-
setIterationCount
public JcePKCS12MacCalculatorBuilder setIterationCount(int iterationCount)
-
getDigestAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithmIdentifier()
- Specified by:
getDigestAlgorithmIdentifier
in interfacePKCS12MacCalculatorBuilder
-
build
public org.bouncycastle.operator.MacCalculator build(char[] password) throws org.bouncycastle.operator.OperatorCreationException
- Specified by:
build
in interfacePKCS12MacCalculatorBuilder
- Throws:
org.bouncycastle.operator.OperatorCreationException
-
-