Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DERInteger.java « asn1 « spongycastle « org « java « main « src « core - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3cc465d3ceb7a14f37eb02ccfcdd3c90b984d27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.spongycastle.asn1;

import java.math.BigInteger;

/**
 * @deprecated  Use ASN1Integer instead of this,
 */
public class DERInteger
    extends ASN1Integer
{
    /**
     * Constructor from a byte array containing a signed representation of the number.
     *
     * @param bytes a byte array containing the signed number.A copy is made of the byte array.
     */
    public DERInteger(byte[] bytes)
    {
        super(bytes, true);
    }

    public DERInteger(BigInteger value)
    {
        super(value);
    }

    public DERInteger(long value)
    {
        super(value);
    }
}