com.mindbright.ssh
public class SSHRSAKeyFile extends java.lang.Object
| Constructor and Description |
|---|
SSHRSAKeyFile(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createKeyFile(SSH ssh,
java.security.interfaces.RSAPrivateCrtKey privKey,
java.lang.String passwd,
java.lang.String name,
java.lang.String comment) |
java.lang.String |
getComment() |
java.security.interfaces.RSAPrivateCrtKey |
getPrivate(java.lang.String passwd) |
java.security.interfaces.RSAPublicKey |
getPublic() |
public SSHRSAKeyFile(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic static void createKeyFile(SSH ssh, java.security.interfaces.RSAPrivateCrtKey privKey, java.lang.String passwd, java.lang.String name, java.lang.String comment) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getComment()
public java.security.interfaces.RSAPublicKey getPublic()
public java.security.interfaces.RSAPrivateCrtKey getPrivate(java.lang.String passwd)