com.mindbright.asn1
Class ASN1BitString

java.lang.Object
  extended bycom.mindbright.asn1.ASN1Object
      extended bycom.mindbright.asn1.ASN1String
          extended bycom.mindbright.asn1.ASN1BitString
Direct Known Subclasses:
KeyUsage

public class ASN1BitString
extends ASN1String


Field Summary
 
Fields inherited from class com.mindbright.asn1.ASN1String
value
 
Fields inherited from class com.mindbright.asn1.ASN1Object
isSet, tag
 
Constructor Summary
ASN1BitString()
           
 
Method Summary
 byte[] getBitArray()
           
 int getBitCount()
           
 boolean[] getBooleanArray()
           
 void setBitArray(byte[] bitArray, int off, int bitCount)
           
 void setBooleanArray(boolean[] bits)
           
 java.lang.String toPrintableString()
           
 
Methods inherited from class com.mindbright.asn1.ASN1String
decodeValue, encodeValue, getRaw, setRaw
 
Methods inherited from class com.mindbright.asn1.ASN1Object
decodeValue, getTag, getType, isSet, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1BitString

public ASN1BitString()
Method Detail

getBitCount

public int getBitCount()

getBitArray

public byte[] getBitArray()

setBitArray

public void setBitArray(byte[] bitArray,
                        int off,
                        int bitCount)

getBooleanArray

public boolean[] getBooleanArray()

setBooleanArray

public void setBooleanArray(boolean[] bits)

toPrintableString

public java.lang.String toPrintableString()