aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/trilead/ssh2/signature/RSAPublicKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/trilead/ssh2/signature/RSAPublicKey.java')
-rw-r--r--src/com/trilead/ssh2/signature/RSAPublicKey.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/com/trilead/ssh2/signature/RSAPublicKey.java b/src/com/trilead/ssh2/signature/RSAPublicKey.java
new file mode 100644
index 0000000..e7e6611
--- /dev/null
+++ b/src/com/trilead/ssh2/signature/RSAPublicKey.java
@@ -0,0 +1,31 @@
+package com.trilead.ssh2.signature;
+
+import java.math.BigInteger;
+
+/**
+ * RSAPublicKey.
+ *
+ * @author Christian Plattner, plattner@trilead.com
+ * @version $Id: RSAPublicKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
+ */
+public class RSAPublicKey
+{
+ BigInteger e;
+ BigInteger n;
+
+ public RSAPublicKey(BigInteger e, BigInteger n)
+ {
+ this.e = e;
+ this.n = n;
+ }
+
+ public BigInteger getE()
+ {
+ return e;
+ }
+
+ public BigInteger getN()
+ {
+ return n;
+ }
+} \ No newline at end of file