|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.jcajce.provider.symmetric.util.PBE.Util
public static class PBE.Util
uses the appropriate mixer to generate the key and IV if necessary.
Constructor Summary | |
---|---|
PBE.Util()
|
Method Summary | |
---|---|
static CipherParameters |
makePBEMacParameters(BCPBEKey pbeKey,
java.security.spec.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 |
makePBEMacParameters(javax.crypto.spec.PBEKeySpec keySpec,
int type,
int hash,
int keySize)
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 |
makePBEParameters(BCPBEKey pbeKey,
java.security.spec.AlgorithmParameterSpec spec,
java.lang.String targetAlgorithm)
construct a key and iv (if necessary) suitable for use with a Cipher. |
static CipherParameters |
makePBEParameters(javax.crypto.spec.PBEKeySpec keySpec,
int type,
int hash,
int keySize,
int ivSize)
construct a key and iv (if necessary) suitable for use with a Cipher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PBE.Util()
Method Detail |
---|
public static CipherParameters makePBEParameters(BCPBEKey pbeKey, java.security.spec.AlgorithmParameterSpec spec, java.lang.String targetAlgorithm)
public static CipherParameters makePBEMacParameters(BCPBEKey pbeKey, java.security.spec.AlgorithmParameterSpec spec)
public static CipherParameters makePBEParameters(javax.crypto.spec.PBEKeySpec keySpec, int type, int hash, int keySize, int ivSize)
public static CipherParameters makePBEMacParameters(javax.crypto.spec.PBEKeySpec keySpec, int type, int hash, int keySize)
|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |