|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.oyster.der.DERObject
org.enhydra.oyster.der.DERBitString
DERBitString is primitive type of DER encoded object which represents bit string (array of bits) in ASN.1 notation.
Constructor Summary | |
DERBitString(boolean[] bitsArray0)
Constructs DERBitString object from boolean array which has only two values of his elements: true and false. |
|
DERBitString(byte[] bitStr0)
Constructs bit string represented as byte array without information about unused bits (no bits are unused). |
|
DERBitString(byte[] bitStr0,
int unused0)
Constructs DERBitString object from bits organised in bytes with information about last few unused bits. |
|
DERBitString(java.lang.String bitStr0)
Constructs DERBitString object from string which has only two values of his elements: 0 and 1 |
Methods inherited from class org.enhydra.oyster.der.DERObject |
getContentOctets, getContentPartSize, getDEREncoded, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DERBitString(java.lang.String bitStr0) throws SMIMEException
bitStr0
- String consisting of 0 and 1 elements
SMIMEException
- thrown in super class constructor or in super class
method addContent.public DERBitString(boolean[] bitsArray0) throws SMIMEException
bitsArray0
- array consisting of boolean elements
SMIMEException
- thrown in super class constructor or in super class
method addContent.public DERBitString(byte[] bitStr0, int unused0) throws SMIMEException
bitStr0
- bit string represented as byte arrayunused0
- number of last few unused bits from last input byte
(must be in range 0-7)
SMIMEException
- if number of unused bits isn't between 0-7. Also,
it can be thrown in super class constructor or addContent method.public DERBitString(byte[] bitStr0) throws SMIMEException
bitStr0
- bit string represented as byte array
SMIMEException
- thrown in super class constructor or addContent
method of super class.
|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |