aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/jdk1.1/java/security/spec/RSAPublicKeySpec.java
blob: b3a367e7e07c6871f9ff97269b5eef623960fadf (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 RSAPublicKeySpec extends Object implements KeySpec
{
    private BigInteger modulus;
    private BigInteger publicExponent;

    public RSAPublicKeySpec(
        BigInteger modulus,
        BigInteger publicExponent)
    {
        this.modulus = modulus;
        this.publicExponent = publicExponent;
    }

    public BigInteger getModulus()
    {
        return modulus;
    }

    public BigInteger getPublicExponent()
    {
        return publicExponent;
    }
}