Logo Search packages:      
Sourcecode: bouncycastle version File versions  Download package

RSAPrivateKeySpec.java

package java.security.spec;

import java.math.BigInteger;

public class RSAPrivateKeySpec extends Object implements KeySpec
{
    private BigInteger modulus;
    private BigInteger privateExponent;

    public RSAPrivateKeySpec(
        BigInteger modulus,
        BigInteger privateExponent)
    {
        this.modulus = modulus;
        this.privateExponent = privateExponent;
    }

    public BigInteger getModulus()
    {
        return modulus;
    }

    public BigInteger getPrivateExponent()
    {
        return privateExponent;
    }
}

Generated by  Doxygen 1.6.0   Back to index