| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int | |
| private final byte[][] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ASN1InputStream(byte[]
array containing ASN.1 encoded data. input)Create an ASN1InputStream based on the input byte array. |
| public | ASN1InputStream(byte[]
array containing ASN.1 encoded data. input, boolean true if parsing inside constructed objects can be delayed. lazyEvaluate)Create an ASN1InputStream based on the input byte array. |
| public | ASN1InputStream(InputStream
stream containing ASN.1 encoded data. input, int maximum size of a DER encoded object. limit)Create an ASN1InputStream where no DER object will be longer than limit. |
| public | ASN1InputStream(InputStream
stream containing ASN.1 encoded data. input, boolean true if parsing inside constructed objects can be delayed. lazyEvaluate)Create an ASN1InputStream where no DER object will be longer than limit, and constructed objects such as sequences will be parsed lazily. |
| public | ASN1InputStream(InputStream
stream containing ASN.1 encoded data. input, int maximum size of a DER encoded object. limit, boolean true if parsing inside constructed objects can be delayed. lazyEvaluate)Create an ASN1InputStream where no DER object will be longer than limit, and constructed objects such as sequences will be parsed lazily. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ASN1BitString | |
| pack-priv ASN1OctetString | |
| protected ASN1Primitive | Returns: the resulting primitive.the full tag details. tag, int the tagNo defined. tagNo, int the length of the object. length)build an object given its tag and the number of bytes to construct it from. |
| pack-priv static ASN1Primitive | |
| private static char[] | |
| private static byte[] | |
| pack-priv int | |
| protected void | |
| protected int | |
| pack-priv static int | |
| public ASN1Primitive | |
| pack-priv ASN1Primitive | |
| pack-priv static int | |
| pack-priv ASN1EncodableVector | |
| pack-priv ASN1EncodableVector |
| lazyEvaluate | back to summary |
|---|---|
| private final boolean lazyEvaluate | |
| limit | back to summary |
|---|---|
| private final int limit | |
| tmpBuffers | back to summary |
|---|---|
| private final byte[][] tmpBuffers | |
| ASN1InputStream | back to summary |
|---|---|
| public ASN1InputStream(InputStream is) | |
| ASN1InputStream | back to summary |
|---|---|
| public ASN1InputStream(byte[] input) Create an ASN1InputStream based on the input byte array. The length of DER objects in the stream is automatically limited to the length of the input array.
| |
| ASN1InputStream | back to summary |
|---|---|
| public ASN1InputStream(byte[] input, boolean lazyEvaluate) Create an ASN1InputStream based on the input byte array. The length of DER objects in the stream is automatically limited to the length of the input array.
| |
| ASN1InputStream | back to summary |
|---|---|
| public ASN1InputStream(InputStream input, int limit) Create an ASN1InputStream where no DER object will be longer than limit.
| |
| ASN1InputStream | back to summary |
|---|---|
| public ASN1InputStream(InputStream input, boolean lazyEvaluate) Create an ASN1InputStream where no DER object will be longer than limit, and constructed objects such as sequences will be parsed lazily.
| |
| ASN1InputStream | back to summary |
|---|---|
| public ASN1InputStream(InputStream input, int limit, boolean lazyEvaluate) Create an ASN1InputStream where no DER object will be longer than limit, and constructed objects such as sequences will be parsed lazily.
| |
| ASN1InputStream | back to summary |
|---|---|
| private ASN1InputStream(InputStream input, int limit, boolean lazyEvaluate, byte[][] tmpBuffers) | |
| buildConstructedBitString | back to summary |
|---|---|
| pack-priv ASN1BitString buildConstructedBitString(ASN1EncodableVector contentsElements) throws IOException | |
| buildConstructedOctetString | back to summary |
|---|---|
| pack-priv ASN1OctetString buildConstructedOctetString(ASN1EncodableVector contentsElements) throws IOException | |
| buildObject | back to summary |
|---|---|
| protected ASN1Primitive buildObject(int tag, int tagNo, int length) throws IOException build an object given its tag and the number of bytes to construct it from.
| |
| createPrimitiveDERObject | back to summary |
|---|---|
| pack-priv static ASN1Primitive createPrimitiveDERObject(int tagNo, DefiniteLengthInputStream defIn, byte[][] tmpBuffers) throws IOException | |
| getBMPCharBuffer | back to summary |
|---|---|
| private static char[] getBMPCharBuffer(DefiniteLengthInputStream defIn) throws IOException | |
| getBuffer | back to summary |
|---|---|
| private static byte[] getBuffer(DefiniteLengthInputStream defIn, byte[][] tmpBuffers) throws IOException | |
| getLimit | back to summary |
|---|---|
| pack-priv int getLimit() | |
| readFully | back to summary |
|---|---|
| protected void readFully(byte[] bytes) throws IOException | |
| readLength | back to summary |
|---|---|
| protected int readLength() throws IOException | |
| readLength | back to summary |
|---|---|
| pack-priv static int readLength(InputStream s, int limit, boolean isParsing) throws IOException | |
| readObject | back to summary |
|---|---|
| public ASN1Primitive readObject() throws IOException | |
| readTaggedObjectDL | back to summary |
|---|---|
| pack-priv ASN1Primitive readTaggedObjectDL(int tagClass, int tagNo, boolean constructed, DefiniteLengthInputStream defIn) throws IOException | |
| readTagNumber | back to summary |
|---|---|
| pack-priv static int readTagNumber(InputStream s, int tag) throws IOException | |
| readVector | back to summary |
|---|---|
| pack-priv ASN1EncodableVector readVector() throws IOException | |
| readVector | back to summary |
|---|---|
| pack-priv ASN1EncodableVector readVector(DefiniteLengthInputStream defIn) throws IOException | |