FileDocCategorySizeDatePackage
IESParameterSpec.javaAPI DocAzureus 3.0.3.41167Tue Jun 08 05:12:56 BST 2004org.bouncycastle.jce.spec

IESParameterSpec

public class IESParameterSpec extends Object implements AlgorithmParameterSpec
Parameter spec for an integrated encryptor, as in IEEE P1363a

Fields Summary
private byte[]
derivation
private byte[]
encoding
private int
macKeySize
Constructors Summary
public IESParameterSpec(byte[] derivation, byte[] encoding, int macKeySize)

        this.derivation = new byte[derivation.length];
        System.arraycopy(derivation, 0, this.derivation, 0, derivation.length);

        this.encoding = new byte[encoding.length];
        System.arraycopy(encoding, 0, this.encoding, 0, encoding.length);

        this.macKeySize = macKeySize;           
    
Methods Summary
public byte[]getDerivationV()
return the derivation vector.

        return derivation;
    
public byte[]getEncodingV()
return the encoding vector.

        return encoding;
    
public intgetMacKeySize()
return the key size in bits for the MAC used with the message

        return macKeySize;