Package org.bouncycastle.asn1
Class BERSequence
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.ASN1Primitive
-
- org.bouncycastle.asn1.ASN1Sequence
-
- org.bouncycastle.asn1.BERSequence
-
- All Implemented Interfaces:
java.lang.Iterable<ASN1Encodable>
,ASN1Encodable
,Encodable
,Iterable<ASN1Encodable>
public class BERSequence extends ASN1Sequence
Indefinite length SEQUENCE of objects.Length field has value 0x80, and the sequence ends with two bytes of: 0x00, 0x00.
For X.690 syntax rules, see
ASN1Sequence
.
-
-
Constructor Summary
Constructors Constructor Description BERSequence()
Create an empty sequenceBERSequence(ASN1Encodable element)
Create a sequence containing one objectBERSequence(ASN1Encodable[] elements)
Create a sequence containing an array of objects.BERSequence(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
-
BERSequence
public BERSequence()
Create an empty sequence
-
BERSequence
public BERSequence(ASN1Encodable element)
Create a sequence containing one object
-
BERSequence
public BERSequence(ASN1EncodableVector elementVector)
Create a sequence containing a vector of objects.
-
BERSequence
public BERSequence(ASN1Encodable[] elements)
Create a sequence containing an array of objects.
-
-