|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder
Lightweight builder for the password-based MAC calculator used to protect the integrity of a PKCS#12 PFX (RFC 7292). Defaults to SHA-1 with an iteration count of 1024.
| Constructor Summary | |
BcPKCS12MacCalculatorBuilder()
Default constructor — produces a SHA-1 based MAC builder. |
|
BcPKCS12MacCalculatorBuilder(org.bouncycastle.crypto.ExtendedDigest digest,
org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
Construct a MAC builder backed by a specific digest. |
|
| Method Summary | |
MacCalculator |
build(char[] password)
|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getDigestAlgorithmIdentifier()
|
BcPKCS12MacCalculatorBuilder |
setIterationCount(int iterationCount)
Override the iteration count used by the PKCS#12 key derivation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BcPKCS12MacCalculatorBuilder()
public BcPKCS12MacCalculatorBuilder(org.bouncycastle.crypto.ExtendedDigest digest,
org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
digest - the lightweight digest implementation to drive the HMAC.algorithmIdentifier - the algorithm identifier describing .| Method Detail |
public BcPKCS12MacCalculatorBuilder setIterationCount(int iterationCount)
iterationCount - the iteration count.
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithmIdentifier()
getDigestAlgorithmIdentifier in interface PKCS12MacCalculatorBuilderpublic MacCalculator build(char[] password)
build in interface PKCS12MacCalculatorBuilder
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||