Package org.bouncycastle.asn1

## Class DEREnumerated

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ASN1Primitive
    - - org.bouncycastle.asn1.ASN1Enumerated
      - - org.bouncycastle.asn1.DEREnumerated

- All Implemented Interfaces:
    `ASN1Encodable`, `Encodable`

      public class DEREnumerated
      extends ASN1Enumerated

  Deprecated.
  Use ASN1Enumerated instead of this.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DEREnumerated​(int value)` | Deprecated. use ASN1Enumerated
    `DEREnumerated​(java.math.BigInteger value)` | Deprecated. use ASN1Enumerated

  - ### Method Summary

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

      `getInstance, getInstance, getValue, hashCode, hasValue, intValueExact`

    - ### 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, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DEREnumerated

          public DEREnumerated​(java.math.BigInteger value)

      Deprecated.
      use ASN1Enumerated
      Parameters:
        `value` - the value of this enumerated.

    - #### DEREnumerated

          public DEREnumerated​(int value)

      Deprecated.
      use ASN1Enumerated
      Parameters:
        `value` - the value of this enumerated.