FileDocCategorySizeDatePackage
Asn1Integer.javaAPI DocBouncy Castle Crypto API 1.41 (Java 1.5)835Wed Oct 01 10:55:30 BST 2008org.bouncycastle.sasn1

Asn1Integer

public class Asn1Integer extends DerObject
deprecated
use corresponsding classes in org.bouncycastle.asn1.

Fields Summary
private BigInteger
_value
Constructors Summary
protected Asn1Integer(int baseTag, byte[] data)

        super(baseTag, BerTag.INTEGER, data);
        
        this._value = new BigInteger(data);
    
public Asn1Integer(long value)

        this(BigInteger.valueOf(value));
    
public Asn1Integer(BigInteger value)

        super(BerTagClass.UNIVERSAL, BerTag.INTEGER, value.toByteArray());
        
        this._value = value;
    
Methods Summary
public java.math.BigIntegergetValue()

        return _value;