public class ASN1BitString extends ASN1String<boolean[]>
| Modifier and Type | Class and Description |
|---|---|
static class |
ASN1BitString.Parser |
static class |
ASN1BitString.Serializer |
valueBytestag| Constructor and Description |
|---|
ASN1BitString(java.util.BitSet bitSet)
Constructor for ASN.1 BIT STRING.
|
ASN1BitString(boolean[] bits) |
ASN1BitString(byte[] bytes,
int unusedBits) |
| Modifier and Type | Method and Description |
|---|---|
boolean[] |
getValue() |
boolean |
isSet(int x)
Check whether bit 'x' is set in the ASN.1 BIT_STRING
|
int |
length() |
protected java.lang.String |
valueString() |
iteratorequals, getTag, hashCode, toStringpublic ASN1BitString(byte[] bytes,
int unusedBits)
public ASN1BitString(boolean[] bits)
public ASN1BitString(java.util.BitSet bitSet)
bitSet - public boolean[] getValue()
getValue in class ASN1Object<boolean[]>protected java.lang.String valueString()
valueString in class ASN1Object<boolean[]>public boolean isSet(int x)
x - The bit to checktrue if bit 'x' is set, false otherwise.public int length()
length in class ASN1String<boolean[]>