Additional top-level class in compilation unit: OldPKCS12ParametersGenerator.
| Modifier and Type | Class and Description |
|---|---|
| public static class | BrokenPBE.
uses the appropriate mixer to generate the key and IV if neccessary. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| MD5 | back to summary |
|---|---|
| public static final int MD5 | |
| OLD_PKCS12 | back to summary |
|---|---|
| public static final int OLD_PKCS12 | |
| PKCS12 | back to summary |
|---|---|
| public static final int PKCS12 | |
| PKCS5S1 | back to summary |
|---|---|
| public static final int PKCS5S1 | |
| PKCS5S2 | back to summary |
|---|---|
| public static final int PKCS5S2 | |
| RIPEMD160 | back to summary |
|---|---|
| public static final int RIPEMD160 | |
| SHA1 | back to summary |
|---|---|
| public static final int SHA1 | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static PBEParametersGenerator | |
| pack-priv static CipherParameters | makePBEMacParameters(BCPBEKey pbeKey, AlgorithmParameterSpec spec, 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. |
| pack-priv static CipherParameters | makePBEParameters(BCPBEKey pbeKey, AlgorithmParameterSpec spec, int type, int hash, String targetAlgorithm, int keySize, int ivSize)
construct a key and iv (if neccessary) suitable for use with a Cipher. |
| private static void |
| Util | back to summary |
|---|---|
| public Util() | |
| makePBEGenerator | back to summary |
|---|---|
| private static PBEParametersGenerator makePBEGenerator(int type, int hash) | |
| makePBEMacParameters | back to summary |
|---|---|
| pack-priv static CipherParameters makePBEMacParameters(BCPBEKey pbeKey, AlgorithmParameterSpec spec, 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. | |
| makePBEParameters | back to summary |
|---|---|
| pack-priv static CipherParameters makePBEParameters(BCPBEKey pbeKey, AlgorithmParameterSpec spec, int type, int hash, String targetAlgorithm, int keySize, int ivSize) construct a key and iv (if neccessary) suitable for use with a Cipher. | |
| setOddParity | back to summary |
|---|---|
| private static void setOddParity(byte[] bytes) a faulty parity routine...
| |