com.trilead.ssh2.signature
Class RSAPrivateKey

java.lang.Object
  extended by com.trilead.ssh2.signature.RSAPrivateKey

public class RSAPrivateKey
extends java.lang.Object

RSAPrivateKey.

Version:
$Id: RSAPrivateKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
Author:
Christian Plattner, plattner@trilead.com

Constructor Summary
RSAPrivateKey(java.math.BigInteger d, java.math.BigInteger e, java.math.BigInteger n)
           
 
Method Summary
 java.math.BigInteger getD()
           
 java.math.BigInteger getE()
           
 java.math.BigInteger getN()
           
 RSAPublicKey getPublicKey()
           
 java.security.KeyPair toJCEKeyPair()
          Converts this to a JCE API representation of the RSA key pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPrivateKey

public RSAPrivateKey(java.math.BigInteger d,
                     java.math.BigInteger e,
                     java.math.BigInteger n)
Method Detail

getD

public java.math.BigInteger getD()

getE

public java.math.BigInteger getE()

getN

public java.math.BigInteger getN()

getPublicKey

public RSAPublicKey getPublicKey()

toJCEKeyPair

public java.security.KeyPair toJCEKeyPair()
                                   throws java.security.GeneralSecurityException
Converts this to a JCE API representation of the RSA key pair.

Throws:
java.security.GeneralSecurityException


Copyright © 2011. All Rights Reserved.