Bouncy Castle Cryptography Library 1.77.0

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:
ASN1Encodable, Encodable, Iterable

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
BERSequence()
          Create an empty sequence
BERSequence(ASN1Encodable element)
          Create a sequence containing one object
BERSequence(ASN1Encodable[] elements)
          Create a sequence containing an array of objects.
BERSequence(ASN1EncodableVector elementVector)
          Create a sequence containing a vector of objects.
 
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
 

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.

Bouncy Castle Cryptography Library 1.77.0