|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.crypt.x509.types.BitString
public class BitString
Represents a string of bits encoded into octets in network byte order.
| Field Summary | |
|---|---|
protected static int |
BITS_IN_BYTE
Number of bits in a byte. |
protected static int |
INT_BYTE_SIZE
Number of bytes in a Java int. |
protected byte[] |
octets
Octets used to encode bit string. |
protected static int |
UNSIGNED_BYTE_MASK
Unsigned byte bitmask. |
| Constructor Summary | |
|---|---|
BitString()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static byte[] |
getBytes(int bitString)
Gets a byte representation of a bit string encoded as a Java integer. |
byte[] |
getOctets()
|
int |
hashCode()
|
int |
intValue()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int INT_BYTE_SIZE
protected static final int BITS_IN_BYTE
protected static final int UNSIGNED_BYTE_MASK
protected byte[] octets
| Constructor Detail |
|---|
public BitString()
| Method Detail |
|---|
public static byte[] getBytes(int bitString)
bitString - Bit string stored in Java int.
public byte[] getOctets()
public int intValue()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||