KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > ssh2 > signature > RSAPublicKey


1 package ch.ethz.ssh2.signature;
2
3 import java.math.BigInteger JavaDoc;
4
5 /**
6  * RSAPublicKey.
7  *
8  * @author Christian Plattner, plattner@inf.ethz.ch
9  * @version $Id: RSAPublicKey.java,v 1.2 2005/08/11 12:47:29 cplattne Exp $
10  */

11 public class RSAPublicKey
12 {
13     BigInteger JavaDoc e;
14     BigInteger JavaDoc n;
15
16     public RSAPublicKey(BigInteger JavaDoc e, BigInteger JavaDoc n)
17     {
18         this.e = e;
19         this.n = n;
20     }
21
22     public BigInteger JavaDoc getE()
23     {
24         return e;
25     }
26
27     public BigInteger JavaDoc getN()
28     {
29         return n;
30     }
31 }
Popular Tags