BERSet (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.asn1

## Class BERSet

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ASN1Primitive
    - - org.bouncycastle.asn1.ASN1Set
      - - org.bouncycastle.asn1.BERSet

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class BERSet
      extends ASN1Set

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BERSet()` create an empty sequence
    `BERSet(ASN1Encodable obj)`
    `BERSet(ASN1Encodable[] a)` create a set from an array of objects.
    `BERSet(ASN1EncodableVector v)`

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Set

      `getInstance, getInstance, getObjectAt, getObjects, hashCode, parser, size, sort, toArray, toString`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Primitive

      `equals, fromByteArray, toASN1Primitive`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `getEncoded, getEncoded, hasEncodedTagValue, toASN1Object`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BERSet

          public BERSet()

      create an empty sequence

    - #### BERSet

          public BERSet(ASN1Encodable obj)

      Parameters:
        `obj` - - a single object that makes up the set.

    - #### BERSet

          public BERSet(ASN1EncodableVector v)

      Parameters:
        `v` - - a vector of objects making up the set.

    - #### BERSet

          public BERSet(ASN1Encodable[] a)

      create a set from an array of objects.