public class BerInteger
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
byte[] |
code |
static BerTag |
tag |
java.math.BigInteger |
value |
Constructor and Description |
---|
BerInteger() |
BerInteger(java.math.BigInteger val) |
BerInteger(byte[] code) |
BerInteger(long val) |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
int |
decode(java.io.InputStream is) |
int |
decode(java.io.InputStream is,
boolean withTag) |
int |
encode(BerByteArrayOutputStream os) |
int |
encode(BerByteArrayOutputStream os,
boolean withTag) |
void |
encodeAndSave(int encodingSizeGuess) |
int |
intValue() |
long |
longValue() |
short |
shortValue() |
java.lang.String |
toString() |
public static final BerTag tag
public byte[] code
public java.math.BigInteger value
public BerInteger()
public BerInteger(byte[] code)
public BerInteger(java.math.BigInteger val)
public BerInteger(long val)
public int encode(BerByteArrayOutputStream os) throws java.io.IOException
java.io.IOException
public int encode(BerByteArrayOutputStream os, boolean withTag) throws java.io.IOException
java.io.IOException
public int decode(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public int decode(java.io.InputStream is, boolean withTag) throws java.io.IOException
java.io.IOException
public void encodeAndSave(int encodingSizeGuess) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()