|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.flexiprovider.core.md.VSH.Bitstring
Inner class for representing bit strings.
| Constructor Summary | |
VSH.Bitstring(int length,
byte[] os)
Creates a new Bitstring by converting the given byte[] os according to 1363 and using the given length. |
|
VSH.Bitstring(int length,
FlexiBigInt bi)
Construct a new bit string by converting the given FlexiBigInt bi according to 1363 and using the given length. |
|
| Method Summary | |
int |
getBit(int i)
Get the bit at the specified position. |
void |
reduceN()
Reduces this.len by finding the most significant bit set to one and reducing len and blocks. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public VSH.Bitstring(int length,
byte[] os)
length - the lengthos - the octet string to assign to this bitstring
public VSH.Bitstring(int length,
FlexiBigInt bi)
length - the length of this bit stringbi - the FlexiBigInt to assign to this bit string| Method Detail |
public void reduceN()
public int getBit(int i)
i - the bit position
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||