|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.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 ASN1BitStringParserorg.bouncycastle.asn1.ASN1BitStringParser
public java.io.InputStream getOctetStream()
throws java.io.IOException
ASN1BitStringParsergetOctetStream in interface ASN1BitStringParserorg.bouncycastle.asn1.ASN1BitStringParserpublic 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 ASN1BitStringParserorg.bouncycastle.asn1.ASN1BitStringParser
public ASN1Primitive getLoadedObject()
throws java.io.IOException
InMemoryRepresentablegetLoadedObject in interface InMemoryRepresentableorg.bouncycastle.asn1.InMemoryRepresentablejava.io.IOException - for bad input data.public ASN1Primitive toASN1Primitive()
ASN1EncodabletoASN1Primitive in interface ASN1Encodableorg.bouncycastle.asn1.ASN1Encodable
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||