001package org.apache.commons.ssl.org.bouncycastle.asn1; 002 003import java.math.BigInteger; 004 005/** 006 * @deprecated Use ASN1Integer instead of this, 007 */ 008public class DERInteger 009 extends ASN1Integer 010{ 011 /** 012 * Constructor from a byte array containing a signed representation of the number. 013 * 014 * @param bytes a byte array containing the signed number.A copy is made of the byte array. 015 */ 016 public DERInteger(byte[] bytes) 017 { 018 super(bytes, true); 019 } 020 021 public DERInteger(BigInteger value) 022 { 023 super(value); 024 } 025 026 public DERInteger(long value) 027 { 028 super(value); 029 } 030}