Package com.trilead.ssh2.crypto
Class SimpleDERReader
java.lang.Object
com.trilead.ssh2.crypto.SimpleDERReader
public class SimpleDERReader extends Object
SimpleDERReader.
- 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
Modifier and Type Method Description intavailable()intignoreNextObject()SimpleDERReaderreadConstructed()intreadConstructedType()BigIntegerreadInt()byte[]readOctetString()StringreadOid()byte[]readSequenceAsByteArray()voidresetInput(byte[] b)voidresetInput(byte[] b, int off, int len)
-
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) -
available
public int available() -
ignoreNextObject
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readSequenceAsByteArray
- Throws:
IOException
-
readOid
- Throws:
IOException
-
readConstructed
- Throws:
IOException
-
readConstructedType
- Throws:
IOException
-
readOctetString
- Throws:
IOException
-