FileDocCategorySizeDatePackage
ParametersWithSalt.javaAPI DocAndroid 1.5 API962Wed May 06 22:41:06 BST 2009org.bouncycastle.crypto.params

ParametersWithSalt

public class ParametersWithSalt extends Object implements org.bouncycastle.crypto.CipherParameters
Cipher parameters with a fixed salt value associated with them.

Fields Summary
private byte[]
salt
private org.bouncycastle.crypto.CipherParameters
parameters
Constructors Summary
public ParametersWithSalt(org.bouncycastle.crypto.CipherParameters parameters, byte[] salt)

        this(parameters, salt, 0, salt.length);
    
public ParametersWithSalt(org.bouncycastle.crypto.CipherParameters parameters, byte[] salt, int saltOff, int saltLen)

        this.salt = new byte[saltLen];
        this.parameters = parameters;

        System.arraycopy(salt, saltOff, this.salt, 0, saltLen);
    
Methods Summary
public org.bouncycastle.crypto.CipherParametersgetParameters()

        return parameters;
    
public byte[]getSalt()

        return salt;