DERSet (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.asn1

## Class DERSet

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

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class DERSet
      extends ASN1Set

  A DER encoded set object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DERSet()` create an empty set
    `DERSet(ASN1Encodable obj)`
    `DERSet(ASN1Encodable[] a)` create a set from an array of objects.
    `DERSet(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

    - #### DERSet

          public DERSet()

      create an empty set

    - #### DERSet

          public DERSet(ASN1Encodable obj)

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

    - #### DERSet

          public DERSet(ASN1EncodableVector v)

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

    - #### DERSet

          public DERSet(ASN1Encodable[] a)

      create a set from an array of objects.