Package | Description |
---|---|
org.bouncycastle.jcajce.provider.symmetric.util |
Modifier and Type | Method and Description |
---|---|
static CipherParameters |
PBE.Util.makePBEMacParameters(BCPBEKey pbeKey,
AlgorithmParameterSpec spec)
generate a PBE based key suitable for a MAC algorithm, the
key size is chosen according the MAC size, or the hashing algorithm,
whichever is greater.
|
static CipherParameters |
PBE.Util.makePBEParameters(BCPBEKey pbeKey,
AlgorithmParameterSpec spec,
String targetAlgorithm)
construct a key and iv (if necessary) suitable for use with a
Cipher.
|
Copyright © 2017 BouncyCastle.org. All rights reserved.