public class BerInteger
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
code |
BerIdentifier |
id |
static BerIdentifier |
identifier |
long |
value |
| Constructor and Description |
|---|
BerInteger() |
BerInteger(byte[] code) |
BerInteger(long val) |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(java.io.InputStream is,
boolean explicit) |
int |
encode(BerByteArrayOutputStream os,
boolean explicit) |
void |
encodeAndSave(int encodingSizeGuess) |
java.lang.String |
toString() |
public static final BerIdentifier identifier
public BerIdentifier id
public byte[] code
public long value
public BerInteger()
public BerInteger(byte[] code)
public BerInteger(long val)
public int encode(BerByteArrayOutputStream os, boolean explicit) throws java.io.IOException
java.io.IOExceptionpublic int decode(java.io.InputStream is,
boolean explicit)
throws java.io.IOException
java.io.IOExceptionpublic void encodeAndSave(int encodingSizeGuess)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object