All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fitbur.bouncycastle.crypto.params.IESParameters Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.fitbur.bouncycastle.crypto.params;

import com.fitbur.bouncycastle.crypto.CipherParameters;

/**
 * parameters for using an integrated cipher in stream mode.
 */
public class IESParameters
    implements CipherParameters
{
    private byte[]  com.fitburrivation;
    private byte[]  encoding;
    private int     macKeySize;

    /**
     * @param com.fitburrivation the com.fitburrivation parameter for the KDF function.
     * @param encoding the encoding parameter for the KDF function.
     * @param macKeySize the size of the MAC key (in bits).
     */
    public IESParameters(
        byte[]  com.fitburrivation,
        byte[]  encoding,
        int     macKeySize)
    {
        this.com.fitburrivation = com.fitburrivation;
        this.encoding = encoding;
        this.macKeySize = macKeySize;
    }

    public byte[] getDerivationV()
    {
        return com.fitburrivation;
    }

    public byte[] getEncodingV()
    {
        return encoding;
    }

    public int getMacKeySize()
    {
        return macKeySize;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy