DERInteger (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

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

  Deprecated.
  Use ASN1Integer instead of this,

      public class DERInteger
      extends ASN1Integer

- - ### Constructor Summary

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

  - ### Method Summary

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

      `getInstance, getInstance, getPositiveValue, getValue, hashCode, 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

    - #### 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.