| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final int | |
| public static final void | readFully(InputStream
the InputStream to read from is, byte[] the buffer to store the bytes into buffer)Blocks till the required number of bytes have been read from the input stream. |
| public static final void | readFully(InputStream
the InputStream to read from is, byte[] the buffer to store the bytes into buffer, int the offset to start storing at offset, int the number of bytes to read len)Blocks till the required number of bytes have been read from the input stream. |
| public static final int | Returns: the integer valuethe InputStream to read from is)Reads a two byte integer value from an InputStream. |
| public static final int | Returns: the integer valuethe byte array to read from src, int the offset to start reading from pos)Reads a two byte integer value from a byte array. |
| public static final int | Returns: the integer valuethe array containing the bytes of the integer value data, int the offset in the array pos, int the number of bytes to read from the array. size)Reads an integer value from a byte array in little endian form. |
| public static final void | |
| public static final void | |
| public static final void | writeInt(int
the integer value. It will lose the high-order two bytes. val, OutputStream the OutputStream to write to os)Writes a two byte integer value to a OutputStream. |
| public static final int | writeInt(int
the integer value. It will lose the high-order two bytes. val, byte[] the byte array to write to dest, int the offset to start writing to pos)Writes a two byte integer value to a byte array. |
| public static final void | writeLittleEndian(int
the integer value to write value, byte[] the byte array into which the integer must be copied. It
is assumed that the array will be large enough to hold the 4 bytes of
the integer. array)Copies an integer value to a byte array in little endian form. |
| public static final void | writeLittleEndian(int
the integer value to write value, byte[] the byte array into which the integer must be copied. It
is assumed that the array will be large enough to hold the 4 bytes of
the integer. array, int the position at which to start writing pos)Copies an integer value to a byte array in little endian form. |
| GSSToken | back to summary |
|---|---|
| public GSSToken() | |
| getHexBytes | back to summary |
|---|---|
| public static final String getHexBytes(byte[] bytes) | |
| getHexBytes | back to summary |
|---|---|
| public static final String getHexBytes(byte[] bytes, int len) | |
| getHexBytes | back to summary |
|---|---|
| public static final String getHexBytes(byte[] bytes, int pos, int len) | |
| readBigEndian | back to summary |
|---|---|
| public static final int readBigEndian(byte[] data, int pos, int size) | |
| readFully | back to summary |
|---|---|
| public static final void readFully(InputStream is, byte[] buffer) throws IOException Blocks till the required number of bytes have been read from the input stream.
| |
| readFully | back to summary |
|---|---|
| public static final void readFully(InputStream is, byte[] buffer, int offset, int len) throws IOException Blocks till the required number of bytes have been read from the input stream.
| |
| readInt | back to summary |
|---|---|
| public static final int readInt(InputStream is) throws IOException Reads a two byte integer value from an InputStream.
| |
| readInt | back to summary |
|---|---|
| public static final int readInt(byte[] src, int pos) Reads a two byte integer value from a byte array.
| |
| readLittleEndian | back to summary |
|---|---|
| public static final int readLittleEndian(byte[] data, int pos, int size) Reads an integer value from a byte array in little endian form. This method allows the reading of two byte values as well as four bytes values both of which are needed in the Kerberos v5 GSS-API mechanism.
| |
| writeBigEndian | back to summary |
|---|---|
| public static final void writeBigEndian(int value, byte[] array) | |
| writeBigEndian | back to summary |
|---|---|
| public static final void writeBigEndian(int value, byte[] array, int pos) | |
| writeInt | back to summary |
|---|---|
| public static final void writeInt(int val, OutputStream os) throws IOException Writes a two byte integer value to a OutputStream.
| |
| writeInt | back to summary |
|---|---|
| public static final int writeInt(int val, byte[] dest, int pos) Writes a two byte integer value to a byte array.
| |
| writeLittleEndian | back to summary |
|---|---|
| public static final void writeLittleEndian(int value, byte[] array) Copies an integer value to a byte array in little endian form.
| |
| writeLittleEndian | back to summary |
|---|---|
| public static final void writeLittleEndian(int value, byte[] array, int pos) Copies an integer value to a byte array in little endian form.
| |