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:
Iterable<ASN1Encodable>
,ASN1Encodable
,Encodable
,Iterable<ASN1Encodable>
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
ConstructorsConstructorDescriptionCreate 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
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
-
BERSequence
public BERSequence()Create an empty sequence -
BERSequence
Create a sequence containing one object -
BERSequence
Create a sequence containing a vector of objects. -
BERSequence
Create a sequence containing an array of objects.
-