keyparameter.java

来自「《移动Agent技术》一书的所有章节源代码。」· Java 代码 · 共 31 行

JAVA
31
字号
package org.bouncycastle.crypto.params;import org.bouncycastle.crypto.CipherParameters;public class KeyParameter	implements CipherParameters{    private byte[]  key;    public KeyParameter(        byte[]  key)    {        this(key, 0, key.length);    }    public KeyParameter(        byte[]  key,        int     keyOff,        int     keyLen)    {        this.key = new byte[keyLen];        System.arraycopy(key, keyOff, this.key, 0, keyLen);    }    public byte[] getKey()    {        return key;    }}

⌨️ 快捷键说明

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