Deprecated
Check for 'ASN1BitStringParser' instead
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final DefiniteLengthInputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public InputStream | getBitStream()
Implements org. Return an InputStream representing the contents of the BIT STRING. |
| private InputStream | |
| public ASN1Primitive | getLoadedObject()
Implements org. Get the in-memory representation of the ASN.1 object. |
| public InputStream | getOctetStream()
Implements org. Return an InputStream representing the contents of the BIT STRING, where the content is expected to be octet-aligned (this will be automatically checked during parsing). |
| public int | getPadBits()
Implements org. Return the number of pad bits, if any, in the final byte, if any, read from
|
| public ASN1Primitive | toASN1Primitive()
Implements org. Return an object, possibly constructed, of ASN.1 primitives |
| padBits | back to summary |
|---|---|
| private int padBits | |
| stream | back to summary |
|---|---|
| private final DefiniteLengthInputStream stream | |
| DLBitStringParser | back to summary |
|---|---|
| pack-priv DLBitStringParser(DefiniteLengthInputStream stream) | |
| getBitStream | back to summary |
|---|---|
| public InputStream getBitStream() throws IOException Implements org. Doc from org. Return an InputStream representing the contents of the BIT STRING. The final
byte, if any, may include pad bits. See
| |
| getBitStream | back to summary |
|---|---|
| private InputStream getBitStream(boolean octetAligned) throws IOException | |
| getLoadedObject | back to summary |
|---|---|
| public ASN1Primitive getLoadedObject() throws IOException Implements org. Doc from org. Get the in-memory representation of the ASN.1 object.
| |
| getOctetStream | back to summary |
|---|---|
| public InputStream getOctetStream() throws IOException Implements org. Doc from org. Return an InputStream representing the contents of the BIT STRING, where the content is expected to be octet-aligned (this will be automatically checked during parsing).
| |
| getPadBits | back to summary |
|---|---|
| public int getPadBits() Implements org. Doc from org. Return the number of pad bits, if any, in the final byte, if any, read from
Note Must be called AFTER the stream
has been fully processed. (Does not need to be called if
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements org. Doc from org. Return an object, possibly constructed, of ASN.1 primitives
| |