⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iesparameterspec.java

📁 kmlnjlkj nlkjlkjkljl okopokipoipo oipipipo i
💻 JAVA
字号:
package org.bouncycastle.jce.spec;import java.security.spec.AlgorithmParameterSpec;/** * Parameter spec for an integrated encryptor, as in IEEE P1363a */public class IESParameterSpec    implements AlgorithmParameterSpec{    private byte[]  derivation;    private byte[]  encoding;    private int     macKeySize;    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;               }    /**     * return the derivation vector.     */    public byte[] getDerivationV()    {        return derivation;    }    /**     * return the encoding vector.     */    public byte[] getEncodingV()    {        return encoding;    }    /**     * return the key size in bits for the MAC used with the message     */    public int getMacKeySize()    {        return macKeySize;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -