public class SshRsaPrivateKey extends SshPrivateKey
| Constructor and Description |
|---|
SshRsaPrivateKey(byte[] encoded)
Creates a new SshRsaPrivateKey object.
|
SshRsaPrivateKey(java.security.interfaces.RSAPrivateKey prv,
java.security.interfaces.RSAPublicKey pub)
Creates a new SshRsaPrivateKey object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
generateSignature(byte[] data) |
java.lang.String |
getAlgorithmName() |
int |
getBitLength() |
byte[] |
getEncoded() |
SshPublicKey |
getPublicKey() |
int |
hashCode() |
public SshRsaPrivateKey(java.security.interfaces.RSAPrivateKey prv,
java.security.interfaces.RSAPublicKey pub)
prv - pub - public SshRsaPrivateKey(byte[] encoded)
throws InvalidSshKeyException
encoded - InvalidSshKeyExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getAlgorithmName()
getAlgorithmName in class SshPrivateKeypublic int getBitLength()
getBitLength in class SshPrivateKeypublic byte[] getEncoded()
getEncoded in class SshPrivateKeypublic SshPublicKey getPublicKey()
getPublicKey in class SshPrivateKeypublic byte[] generateSignature(byte[] data)
generateSignature in class SshPrivateKeydata - Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.