ch.ethz.ssh2.crypto

Class SimpleDERReader


public class SimpleDERReader
extends java.lang.Object

SimpleDERReader.

Constructor Summary

SimpleDERReader(byte[] b)
SimpleDERReader(byte[] b, int off, int len)

Method Summary

int
available()
int
ignoreNextObject()
BigInteger
readInt()
byte[]
readOctetString()
byte[]
readSequenceAsByteArray()
void
resetInput(byte[] b)
void
resetInput(byte[] b, int off, int len)

Constructor Details

SimpleDERReader

public SimpleDERReader(byte[] b)

SimpleDERReader

public SimpleDERReader(byte[] b,
                       int off,
                       int len)

Method Details

available

public int available()

ignoreNextObject

public int ignoreNextObject()
            throws IOException

readInt

public BigInteger readInt()
            throws IOException

readOctetString

public byte[] readOctetString()
            throws IOException

readSequenceAsByteArray

public byte[] readSequenceAsByteArray()
            throws IOException

resetInput

public void resetInput(byte[] b)

resetInput

public void resetInput(byte[] b,
                       int off,
                       int len)