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