Package org.bouncycastle.asn1
Class DERSequence
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1Sequence
org.bouncycastle.asn1.DERSequence
- All Implemented Interfaces:
Iterable<ASN1Encodable>
,ASN1Encodable
,Encodable
,Iterable<ASN1Encodable>
Definite length SEQUENCE, encoding tells explicit number of bytes
that the content of this sequence occupies.
For X.690 syntax rules, see ASN1Sequence
.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty sequenceDERSequence
(ASN1Encodable element) Create a sequence containing one objectDERSequence
(ASN1Encodable[] elements) Create a sequence containing an array of objects.DERSequence
(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
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
-
DERSequence
public DERSequence()Create an empty sequence -
DERSequence
Create a sequence containing one object- Parameters:
element
- the object to go in the sequence.
-
DERSequence
Create a sequence containing a vector of objects.- Parameters:
elementVector
- the vector of objects to make up the sequence.
-
DERSequence
Create a sequence containing an array of objects.- Parameters:
elements
- the array of objects to make up the sequence.
-
-
Method Details
-
convert
-