public class PuttyKeyReader
extends java.lang.Object
implements java.io.Closeable
Putty key files decoders| Modifier 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.IOExceptionpublic java.lang.String readString()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String readString(java.nio.charset.Charset cs)
throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger readInt()
throws java.io.IOException
java.io.IOExceptionpublic byte[] read(int maxAllowed)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException