com.mindbright.ssh2
public class SSH2PuttyKeyFile extends java.lang.Object
Constructor and Description |
---|
SSH2PuttyKeyFile(java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment() |
java.lang.String |
getFormat() |
byte[] |
getPrivateKeyBlob() |
byte[] |
getPublicKeyBlob() |
void |
load(java.io.InputStream in) |
java.lang.String |
toString() |
boolean |
validate(java.lang.String passphrase) |
public SSH2PuttyKeyFile(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public void load(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public boolean validate(java.lang.String passphrase) throws SSH2FatalException
SSH2FatalException
public byte[] getPublicKeyBlob()
public byte[] getPrivateKeyBlob()
public java.lang.String getFormat()
public java.lang.String getComment()
public java.lang.String toString()
toString
in class java.lang.Object