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, toStringequals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValue, toASN1Objectprivate int bodyLength
public DERSequence()
public DERSequence(ASN1Encodable obj)
public DERSequence(ASN1EncodableVector v)
public DERSequence(ASN1Encodable[] array)
private int getBodyLength() throws java.io.IOException
java.io.IOExceptionint encodedLength() throws java.io.IOException
encodedLength in class ASN1Primitivejava.io.IOExceptionvoid encode(ASN1OutputStream out) throws java.io.IOException
encode in class ASN1Sequencejava.io.IOException