| java.lang.Object org.bouncycastle.crypto.PBEParametersGenerator org.bouncycastle.crypto.generators.PKCS12ParametersGenerator
PKCS12ParametersGenerator | public class PKCS12ParametersGenerator extends PBEParametersGenerator (Code) | | Generator for PBE derived keys and ivs as defined by PKCS 12 V1.0.
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) | | |
PKCS12ParametersGenerator | public PKCS12ParametersGenerator(Digest digest)(Code) | | Construct a PKCS 12 Parameters generator. This constructor will
accept any digest which also implements ExtendedDigest.
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. |
|
|