Method Summary |
|
DerInputBuffer | dup() |
public boolean | equals(Object other) Compares this DerInputBuffer for equality with the specified
object. |
boolean | equals(DerInputBuffer other) |
BigInteger | getBigInteger(int len) Returns the integer which takes up the specified number
of bytes in this buffer as a BigInteger.
Parameters: len - the number of bytes to use. |
public byte[] | getBitString(int len) Returns the bit string which takes up the specified
number of bytes in this buffer. |
byte[] | getBitString() Returns the bit string which takes up the rest of this buffer. |
public Date | getGeneralizedTime(int len) Returns the Generalized Time value that takes up the specified
number of bytes in this buffer. |
public int | getInteger(int len) Returns the integer which takes up the specified number
of bytes in this buffer.
throws: IOException - if the result is not within the valid range for integer, i.e. |
public Date | getUTCTime(int len) Returns the UTC Time value that takes up the specified number
of bytes in this buffer. |
BitArray | getUnalignedBitString() Returns the bit string which takes up the rest of this buffer. |
public int | hashCode() Returns a hashcode for this DerInputBuffer. |
int | peek() |
byte[] | toByteArray() |
void | truncate(int len) |