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 $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
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()SimpleDERReaderreadConstructed()intreadConstructedType()java.math.BigIntegerreadInt()byte[]readOctetString()java.lang.StringreadOid()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)
-
available
public int available()
-
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
-
readOid
public java.lang.String readOid() throws java.io.IOException- Throws:
java.io.IOException
-
readConstructed
public SimpleDERReader readConstructed() throws java.io.IOException
- Throws:
java.io.IOException
-
readConstructedType
public int readConstructedType() throws java.io.IOException- Throws:
java.io.IOException
-
readOctetString
public byte[] readOctetString() throws java.io.IOException- Throws:
java.io.IOException
-
-