rsakeyparameters.java

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

JAVA
35
字号
package org.bouncycastle.crypto.params;import java.math.BigInteger;import java.security.SecureRandom;import org.bouncycastle.crypto.CipherParameters;public class RSAKeyParameters    extends AsymmetricKeyParameter{    private BigInteger      modulus;    private BigInteger      exponent;    public RSAKeyParameters(        boolean     isPrivate,        BigInteger  modulus,        BigInteger  exponent)    {        super(isPrivate);        this.modulus = modulus;        this.exponent = exponent;    }       public BigInteger getModulus()    {        return modulus;    }    public BigInteger getExponent()    {        return exponent;    }}

⌨️ 快捷键说明

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