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:
java.lang.Iterable<ASN1Encodable>
,ASN1Encodable
,Encodable
,Iterable<ASN1Encodable>
public class DERSequence extends ASN1Sequence
Definite length SEQUENCE, encoding tells explicit number of bytes that the content of this sequence occupies.For X.690 syntax rules, see
ASN1Sequence
.
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.asn1.ASN1Sequence
seq
-
-
Constructor Summary
Constructors Constructor Description DERSequence()
Create an empty sequenceDERSequence(ASN1Encodable obj)
Create a sequence containing one objectDERSequence(ASN1Encodable[] array)
Create a sequence containing an array of objects.DERSequence(ASN1EncodableVector v)
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
-
-
-
-
Constructor Detail
-
DERSequence
public DERSequence()
Create an empty sequence
-
DERSequence
public DERSequence(ASN1Encodable obj)
Create a sequence containing one object- Parameters:
obj
- the object to go in the sequence.
-
DERSequence
public DERSequence(ASN1EncodableVector v)
Create a sequence containing a vector of objects.- Parameters:
v
- the vector of objects to make up the sequence.
-
DERSequence
public DERSequence(ASN1Encodable[] array)
Create a sequence containing an array of objects.- Parameters:
array
- the array of objects to make up the sequence.
-
-