public class PuttyKeyReader extends Object implements Closeable
Putty key files decoders| Constructor and Description |
|---|
PuttyKeyReader(InputStream s) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
read(int maxAllowed) |
BigInteger |
readInt() |
String |
readString() |
String |
readString(Charset cs) |
void |
skip() |
public PuttyKeyReader(InputStream s)
public void skip()
throws IOException
IOExceptionpublic String readString() throws IOException
IOExceptionpublic String readString(Charset cs) throws IOException
IOExceptionpublic BigInteger readInt() throws IOException
IOExceptionpublic byte[] read(int maxAllowed)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018–2019 The Apache Software Foundation. All rights reserved.