public class Asn1MessageBufferBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Asn1Context |
context |
protected short |
mTypeCode |
Constructor and Description |
---|
Asn1MessageBufferBase() |
Modifier and Type | Method and Description |
---|---|
Asn1Context |
getContext()
Return the context object associated with this buffer.
|
static void |
hexDump(java.io.InputStream in)
This method prints a formatted hex dump of the contents of the
the given input stream to the standard output stream.
|
static void |
hexDump(java.io.InputStream in,
java.io.PrintStream out)
This method prints a formatted hex dump of the contents of the
the given input stream to the given output stream.
|
void |
setKey(byte[] rtkey)
This method is used with the limited run-time to set a run-time
key value generated by the compiler to allow the run-time to
operate on the licensed hosts.
|
void |
setTypeCode(short code)
This method will sets the internal type code to the given value.
|
protected short mTypeCode
protected Asn1Context context
public Asn1Context getContext()
public void setKey(byte[] rtkey)
rtkey
- - Run-time key generated by ASN1Cpublic final void setTypeCode(short code)
code
- Type code (codes are defined in Asn1Type.java). The
codes correspond to the UNIVERSAL tag ID values for the built-in types.public static void hexDump(java.io.InputStream in, java.io.PrintStream out)
in
- InputStream containing data to be dumpedout
- PrintStream to which formatted data is to be writtenpublic static void hexDump(java.io.InputStream in)
in
- InputStream containg data to be dumped