Class SimpleDERReader
java.lang.Object
com.trilead.ssh2.crypto.SimpleDERReader
SimpleDERReader.
- Version:
- $Id: SimpleDERReader.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintprivate bytereadByte()private byte[]readBytes(int len) intreadInt()private intbyte[]readOid()byte[]voidresetInput(byte[] b) voidresetInput(byte[] b, int off, int len)
-
Field Details
-
buffer
byte[] buffer -
pos
int pos -
count
int count
-
-
Constructor Details
-
SimpleDERReader
public SimpleDERReader(byte[] b) -
SimpleDERReader
public SimpleDERReader(byte[] b, int off, int len)
-
-
Method Details
-
resetInput
public void resetInput(byte[] b) -
resetInput
public void resetInput(byte[] b, int off, int len) -
readByte
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
available
public int available() -
readLength
- Throws:
IOException
-
ignoreNextObject
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readSequenceAsByteArray
- Throws:
IOException
-
readOid
- Throws:
IOException
-
readConstructed
- Throws:
IOException
-
readConstructedType
- Throws:
IOException
-
readOctetString
- Throws:
IOException
-