Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/signature/RSAPublicKey.java @ 273:91a31873c42a ganymed
start conversion from trilead to ganymed
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 18 Jul 2014 11:21:46 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
272:ce2f4e397703 | 273:91a31873c42a |
---|---|
1 /* | |
2 * Copyright (c) 2006-2011 Christian Plattner. All rights reserved. | |
3 * Please refer to the LICENSE.txt for licensing details. | |
4 */ | |
5 package ch.ethz.ssh2.signature; | |
6 | |
7 import java.math.BigInteger; | |
8 | |
9 /** | |
10 * RSAPublicKey. | |
11 * | |
12 * @author Christian Plattner | |
13 * @version 2.50, 03/15/10 | |
14 */ | |
15 public class RSAPublicKey | |
16 { | |
17 BigInteger e; | |
18 BigInteger n; | |
19 | |
20 public RSAPublicKey(BigInteger e, BigInteger n) | |
21 { | |
22 this.e = e; | |
23 this.n = n; | |
24 } | |
25 | |
26 public BigInteger getE() | |
27 { | |
28 return e; | |
29 } | |
30 | |
31 public BigInteger getN() | |
32 { | |
33 return n; | |
34 } | |
35 } |