class LazyEncodedSequence extends ASN1Sequence
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
encoded |
seq| Constructor and Description |
|---|
LazyEncodedSequence(byte[] encoded) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
encode(ASN1OutputStream out) |
(package private) int |
encodedLength() |
ASN1Encodable |
getObjectAt(int index)
Return the object at the sequence position indicated by index.
|
java.util.Enumeration |
getObjects() |
private void |
parse() |
int |
size()
Return the number of objects in this sequence.
|
(package private) ASN1Primitive |
toDERObject()
Change current SEQUENCE object to be encoded as
DERSequence. |
(package private) ASN1Primitive |
toDLObject()
Change current SEQUENCE object to be encoded as
DLSequence. |
asn1Equals, getInstance, getInstance, hashCode, isConstructed, parser, toArray, toStringequals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValue, toASN1Objectprivate byte[] encoded
LazyEncodedSequence(byte[] encoded) throws java.io.IOException
java.io.IOExceptionprivate void parse()
public ASN1Encodable getObjectAt(int index)
ASN1SequencegetObjectAt in class ASN1Sequenceindex - the sequence number (starting at zero) of the objectpublic java.util.Enumeration getObjects()
getObjects in class ASN1Sequencepublic int size()
ASN1Sequencesize in class ASN1SequenceASN1Primitive toDERObject()
ASN1SequenceDERSequence.
This is part of Distinguished Encoding Rules form serialization.toDERObject in class ASN1SequenceASN1Primitive toDLObject()
ASN1SequenceDLSequence.
This is part of Direct Length form serialization.toDLObject in class ASN1Sequenceint encodedLength() throws java.io.IOException
encodedLength in class ASN1Primitivejava.io.IOExceptionvoid encode(ASN1OutputStream out) throws java.io.IOException
encode in class ASN1Sequencejava.io.IOException