diff options
Diffstat (limited to 'src/main/java/ch/ethz/ssh2/signature/RSAPublicKey.java')
-rw-r--r-- | src/main/java/ch/ethz/ssh2/signature/RSAPublicKey.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main/java/ch/ethz/ssh2/signature/RSAPublicKey.java b/src/main/java/ch/ethz/ssh2/signature/RSAPublicKey.java new file mode 100644 index 0000000..1058ffc --- /dev/null +++ b/src/main/java/ch/ethz/ssh2/signature/RSAPublicKey.java @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2006-2011 Christian Plattner. All rights reserved. + * Please refer to the LICENSE.txt for licensing details. + */ +package ch.ethz.ssh2.signature; + +import java.math.BigInteger; + +/** + * RSAPublicKey. + * + * @author Christian Plattner + * @version 2.50, 03/15/10 + */ +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 |