ch.ethz.ssh2.crypto
Class SimpleDERReader
java.lang.Object
ch.ethz.ssh2.crypto.SimpleDERReader
public class SimpleDERReader
- extends java.lang.Object
SimpleDERReader.
- Version:
- 2.50, 03/15/10
- Author:
- Christian Plattner
Field Summary |
(package private) byte[] |
buffer
|
(package private) int |
count
|
(package private) int |
pos
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
byte[] buffer
pos
int pos
count
int count
SimpleDERReader
public SimpleDERReader(byte[] b)
SimpleDERReader
public SimpleDERReader(byte[] b,
int off,
int len)
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