public class PuttyKeyReader
extends java.lang.Object
implements java.io.Closeable
Putty
key files decodersModifier and Type | Field and Description |
---|---|
private java.io.DataInputStream |
di |
Constructor and Description |
---|
PuttyKeyReader(java.io.InputStream s) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte[] |
read(int maxAllowed) |
java.math.BigInteger |
readInt() |
java.lang.String |
readString() |
java.lang.String |
readString(java.nio.charset.Charset cs) |
void |
skip() |
public void skip() throws java.io.IOException
java.io.IOException
public java.lang.String readString() throws java.io.IOException
java.io.IOException
public java.lang.String readString(java.nio.charset.Charset cs) throws java.io.IOException
java.io.IOException
public java.math.BigInteger readInt() throws java.io.IOException
java.io.IOException
public byte[] read(int maxAllowed) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException