|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.asn1.DLBitStringParser
Parser for a DL encoded BIT STRING.
| Method Summary | |
java.io.InputStream |
getBitStream()
Deprecated. Return an InputStream representing the contents of the BIT STRING. |
ASN1Primitive |
getLoadedObject()
Deprecated. Get the in-memory representation of the ASN.1 object. |
java.io.InputStream |
getOctetStream()
Deprecated. 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). |
int |
getPadBits()
Deprecated. Return the number of pad bits, if any, in the final byte, if any, read from getBitStream(). |
ASN1Primitive |
toASN1Primitive()
Deprecated. Return an object, possibly constructed, of ASN.1 primitives |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.io.InputStream getBitStream()
throws java.io.IOException
ASN1BitStringParserASN1BitStringParser.getPadBits().
getBitStream in interface ASN1BitStringParserjava.io.IOException
public java.io.InputStream getOctetStream()
throws java.io.IOException
ASN1BitStringParser
getOctetStream in interface ASN1BitStringParserjava.io.IOExceptionpublic int getPadBits()
ASN1BitStringParserASN1BitStringParser.getBitStream(). This number is in the range zero to seven. That
number of the least significant bits of the final byte, if any, are not part
of the contents and should be ignored. NOTE: Must be called AFTER the stream
has been fully processed. (Does not need to be called if
ASN1BitStringParser.getOctetStream() was used instead of ASN1BitStringParser.getBitStream()).
getPadBits in interface ASN1BitStringParser
public ASN1Primitive getLoadedObject()
throws java.io.IOException
InMemoryRepresentable
getLoadedObject in interface InMemoryRepresentablejava.io.IOException - for bad input data.public ASN1Primitive toASN1Primitive()
ASN1Encodable
toASN1Primitive in interface ASN1Encodable
|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||