Package com.trilead.ssh2.crypto
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 TypeMethodDescriptionint
int
private byte
readByte()
private byte[]
readBytes
(int len) int
readInt()
private int
byte[]
readOid()
byte[]
void
resetInput
(byte[] b) void
resetInput
(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
-