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() |
(package private) ASN1Primitive |
toDLObject() |
asn1Equals, getInstance, getInstance, hashCode, isConstructed, parser, toArray, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
LazyEncodedSequence(byte[] encoded) throws java.io.IOException
java.io.IOException
private void parse()
public ASN1Encodable getObjectAt(int index)
ASN1Sequence
getObjectAt
in class ASN1Sequence
index
- the sequence number (starting at zero) of the objectpublic java.util.Enumeration getObjects()
getObjects
in class ASN1Sequence
public int size()
ASN1Sequence
size
in class ASN1Sequence
ASN1Primitive toDERObject()
toDERObject
in class ASN1Sequence
ASN1Primitive toDLObject()
toDLObject
in class ASN1Sequence
int encodedLength() throws java.io.IOException
encodedLength
in class ASN1Primitive
java.io.IOException
void encode(ASN1OutputStream out) throws java.io.IOException
encode
in class ASN1Sequence
java.io.IOException