Package org.bouncycastle.asn1

## Class DERInteger

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ASN1Primitive
    - - org.bouncycastle.asn1.ASN1Integer
      - - org.bouncycastle.asn1.DERInteger

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

      public class DERInteger
      extends ASN1Integer

  Deprecated.
  Use ASN1Integer instead of this,

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DERInteger​(byte[] bytes)` | Deprecated. Constructor from a byte array containing a signed representation of the number.
    `DERInteger​(long value)` | Deprecated.
    `DERInteger​(java.math.BigInteger value)` | Deprecated.

  - ### Method Summary

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

      `getInstance, getInstance, getPositiveValue, getValue, hashCode, hasValue, intPositiveValueExact, intValueExact, longValueExact, 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

    - #### DERInteger

          public DERInteger​(byte[] bytes)

      Deprecated.
      Constructor from a byte array containing a signed representation of the number.
      Parameters:
        `bytes` - a byte array containing the signed number.A copy is made of the byte array.

    - #### DERInteger

          public DERInteger​(java.math.BigInteger value)

      Deprecated.

    - #### DERInteger

          public DERInteger​(long value)

      Deprecated.