org.mozilla.jss.asn1
Class INTEGER
public
class
INTEGER
extends BigInteger
implements ASN1Value
The ASN.1 type INTEGER
. This class extends BigInteger.
public static final
Form FORM
public static final
Tag TAG
public INTEGER(String s)
public INTEGER(String s, int r)
public INTEGER(byte[] bval)
public INTEGER(int sign, byte[] mag)
public INTEGER(int numBits, Random rnd)
public INTEGER(int bitLength, int certainty, Random rnd)
public INTEGER(long val)
public INTEGER(BigInteger bi)
public void encode(OutputStream outStream)
public void encode(
Tag implicitTag, OutputStream outStream)
public byte[] encode()
public long getContentLength()
public static void main(String[] args)
Tests the DER encoding and decoding of the INTEGER class.