com.trilead.ssh2.signature
public class RSAPrivateKey extends java.lang.Object
Constructor and Description |
---|
RSAPrivateKey(java.math.BigInteger d,
java.math.BigInteger e,
java.math.BigInteger n) |
Modifier and Type | Method and Description |
---|---|
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.
|
public RSAPrivateKey(java.math.BigInteger d, java.math.BigInteger e, java.math.BigInteger n)
public java.math.BigInteger getD()
public java.math.BigInteger getE()
public java.math.BigInteger getN()
public RSAPublicKey getPublicKey()
public java.security.KeyPair toJCEKeyPair() throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
Copyright © 2014. All Rights Reserved.