FileDocCategorySizeDatePackage
RSAKeyParameters.javaAPI DocAzureus 3.0.3.4589Tue Jun 08 05:13:00 BST 2004org.bouncycastle.crypto.params

RSAKeyParameters.java

package org.bouncycastle.crypto.params;

import java.math.BigInteger;

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;
    }
}