| java.lang.Object org.bouncycastle.crypto.PBEParametersGenerator org.bouncycastle.jce.provider.OldPKCS12ParametersGenerator
All known Subclasses: org.bouncycastle.jce.provider.BrokenJCEBlockCipher,
OldPKCS12ParametersGenerator | class OldPKCS12ParametersGenerator extends PBEParametersGenerator (Code) | | Generator for PBE derived keys and ivs as defined by PKCS 12 V1.0,
with a bug affecting 180 bit plus keys - this class is only here to
allow smooth migration of the version 0 keystore to version 1. Don't
use it (it won't be staying around).
The document this implementation is based on can be found at
RSA's PKCS12 Page
|
IV_MATERIAL | final public static int IV_MATERIAL(Code) | | |
KEY_MATERIAL | final public static int KEY_MATERIAL(Code) | | |
MAC_MATERIAL | final public static int MAC_MATERIAL(Code) | | |
OldPKCS12ParametersGenerator | public OldPKCS12ParametersGenerator(Digest digest)(Code) | | Construct a PKCS 12 Parameters generator. This constructor will
accept MD5, SHA1, and RIPEMD160.
Parameters: digest - the digest to be used as the source of derived keys. exception: IllegalArgumentException - if an unknown digest is passed in. |
generateDerivedMacParameters | public CipherParameters generateDerivedMacParameters(int keySize)(Code) | | Generate a key parameter for use with a MAC derived from the password,
salt, and iteration count we are currently initialised with.
Parameters: keySize - the size of the key we want (in bits) a KeyParameter object. |
generateDerivedParameters | public CipherParameters generateDerivedParameters(int keySize)(Code) | | Generate a key parameter derived from the password, salt, and iteration
count we are currently initialised with.
Parameters: keySize - the size of the key we want (in bits) a KeyParameter object. |
generateDerivedParameters | public CipherParameters generateDerivedParameters(int keySize, int ivSize)(Code) | | Generate a key with initialisation vector parameter derived from
the password, salt, and iteration count we are currently initialised
with.
Parameters: keySize - the size of the key we want (in bits) Parameters: ivSize - the size of the iv we want (in bits) a ParametersWithIV object. |
|
|