aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/jdk1.1/java/security/spec/RSAPrivateKeySpec.java
blob: 88dc4c159e52aa04677af97f01bb2255f7eea6cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
    }
}