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:
Iterable<ASN1Encodable>
,ASN1Encodable
,Encodable
,Iterable<ASN1Encodable>
The DLSequence encodes a SEQUENCE using definite length form.
-
Field Summary
Fields inherited from class org.bouncycastle.asn1.ASN1Sequence
seq
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty sequenceDLSequence
(ASN1Encodable obj) create a sequence containing one objectDLSequence
(ASN1Encodable[] array) create a sequence containing an array of objects.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
equals, fromByteArray, toASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DLSequence
public DLSequence()Create an empty sequence -
DLSequence
create a sequence containing one object- Parameters:
obj
- the object to go in the sequence.
-
DLSequence
create a sequence containing a vector of objects.- Parameters:
v
- the vector of objects to make up the sequence.
-
DLSequence
create a sequence containing an array of objects.- Parameters:
array
- the array of objects to make up the sequence.
-