Package com.trilead.ssh2.crypto
Class SimpleDERReader
- java.lang.Object
-
- com.trilead.ssh2.crypto.SimpleDERReader
-
public class SimpleDERReader extends java.lang.ObjectSimpleDERReader.- Version:
- $Id: SimpleDERReader.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
-
-
Constructor Summary
Constructors Constructor Description SimpleDERReader(byte[] b)SimpleDERReader(byte[] b, int off, int len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()intignoreNextObject()private bytereadByte()private byte[]readBytes(int len)java.math.BigIntegerreadInt()private intreadLength()byte[]readOctetString()byte[]readSequenceAsByteArray()voidresetInput(byte[] b)voidresetInput(byte[] b, int off, int len)
-
-
-
Method Detail
-
resetInput
public void resetInput(byte[] b)
-
resetInput
public void resetInput(byte[] b, int off, int len)
-
readByte
private byte readByte() throws java.io.IOException- Throws:
java.io.IOException
-
readBytes
private byte[] readBytes(int len) throws java.io.IOException- Throws:
java.io.IOException
-
available
public int available()
-
readLength
private int readLength() throws java.io.IOException- Throws:
java.io.IOException
-
ignoreNextObject
public int ignoreNextObject() throws java.io.IOException- Throws:
java.io.IOException
-
readInt
public java.math.BigInteger readInt() throws java.io.IOException- Throws:
java.io.IOException
-
readSequenceAsByteArray
public byte[] readSequenceAsByteArray() throws java.io.IOException- Throws:
java.io.IOException
-
readOctetString
public byte[] readOctetString() throws java.io.IOException- Throws:
java.io.IOException
-
-