Package org.bouncycastle.asn1
Class DLSequence
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.ASN1Primitive
-
- org.bouncycastle.asn1.ASN1Sequence
-
- org.bouncycastle.asn1.DLSequence
-
- All Implemented Interfaces:
java.lang.Iterable<ASN1Encodable>
,ASN1Encodable
,Encodable
,Iterable<ASN1Encodable>
public class DLSequence extends ASN1Sequence
The DLSequence encodes a SEQUENCE using definite length form.
-
-
Constructor Summary
Constructors Constructor Description DLSequence()
Create an empty sequenceDLSequence(ASN1Encodable element)
create a sequence containing one objectDLSequence(ASN1Encodable[] elements)
create a sequence containing an array of objects.DLSequence(ASN1EncodableVector elementVector)
create a sequence containing a vector of objects.
-
Method Summary
-
Methods inherited from class org.bouncycastle.asn1.ASN1Sequence
getInstance, getInstance, getObjectAt, getObjects, hashCode, iterator, parser, size, toArray, toString
-
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
-
-
-
-
Constructor Detail
-
DLSequence
public DLSequence()
Create an empty sequence
-
DLSequence
public DLSequence(ASN1Encodable element)
create a sequence containing one object- Parameters:
element
- the object to go in the sequence.
-
DLSequence
public DLSequence(ASN1EncodableVector elementVector)
create a sequence containing a vector of objects.- Parameters:
elementVector
- the vector of objects to make up the sequence.
-
DLSequence
public DLSequence(ASN1Encodable[] elements)
create a sequence containing an array of objects.- Parameters:
elements
- the array of objects to make up the sequence.
-
-