public class DERSequence extends ASN1Sequence
Modifier and Type | Field and Description |
---|---|
private int |
bodyLength |
seq
Constructor and Description |
---|
DERSequence()
create an empty sequence
|
DERSequence(ASN1Encodable obj)
create a sequence containing one object
|
DERSequence(ASN1Encodable[] array)
create a sequence containing an array of objects.
|
DERSequence(ASN1EncodableVector v)
create a sequence containing a vector of objects.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
encode(ASN1OutputStream out) |
(package private) int |
encodedLength() |
private int |
getBodyLength() |
asn1Equals, getInstance, getInstance, getObjectAt, getObjects, hashCode, isConstructed, parser, size, toArray, toDERObject, toDLObject, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
private int bodyLength
public DERSequence()
public DERSequence(ASN1Encodable obj)
public DERSequence(ASN1EncodableVector v)
public DERSequence(ASN1Encodable[] array)
private int getBodyLength() throws IOException
IOException
int encodedLength() throws IOException
encodedLength
in class ASN1Primitive
IOException
void encode(ASN1OutputStream out) throws IOException
encode
in class ASN1Sequence
IOException