Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mindbright.ssh2
Class SSH2PuttyKeyFile

    java.lang.Object
      com.mindbright.ssh2.SSH2PuttyKeyFile

public class SSH2PuttyKeyFile
extends java.lang.Object

This class implements support for reading the PuTTY key file format.

Constructor Summary
`SSH2PuttyKeyFile(java.io.InputStream in)`

Method Summary
`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)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SSH2PuttyKeyFile

    public SSH2PuttyKeyFile(java.io.InputStream in)
                     throws java.io.IOException

Method Detail

### load

    public void load(java.io.InputStream in)
              throws java.io.IOException

  Throws:
    `java.io.IOException`

### validate

    public boolean validate(java.lang.String passphrase)
                     throws SSH2FatalException

  Throws:
    `SSH2FatalException`

### getPublicKeyBlob

    public byte[] getPublicKeyBlob()

### getPrivateKeyBlob

    public byte[] getPrivateKeyBlob()

### getFormat

    public java.lang.String getFormat()

### getComment

    public java.lang.String getComment()

### toString

    public java.lang.String toString()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD