ASN1C C# Runtime Library  7.8
Public Member Functions | Static Public Member Functions | Properties | List of all members
Asn1MessageBufferBase Class Reference
Inheritance diagram for Asn1MessageBufferBase:
Asn1MessageBuffer Asn1DecodeBuffer Asn1EncodeBuffer Asn1BerDecodeBuffer Asn1DecodeBitBuffer Asn1MderDecodeBuffer Asn1BerInputStream Asn1DerDecodeBuffer Asn1OerDecodeBuffer Asn1PerDecodeBuffer Asn1CerInputStream Asn1DerInputStream Asn1PerInputStream

Public Member Functions

void SetKey (byte[] rtkey)
 
void SetPermanentKey (byte[] rtkey)
 

Static Public Member Functions

static void HexDump (System.IO.Stream ins, System.IO.StreamWriter outs)
 
static void HexDump (System.IO.Stream ins)
 

Properties

Asn1Context Context [get]
 
virtual short TypeCode [set]
 

Detailed Description

Base class for encode and decode message buffers/streams.

Member Function Documentation

◆ HexDump() [1/2]

static void HexDump ( System.IO.Stream  ins,
System.IO.StreamWriter  outs 
)
static

This method prints a formatted hex dump of the contents of the given input stream to the given output stream.

Parameters
insSystem.IO.Stream containg data to be dumped
outsStreamWriter to which formatted data is to be written

◆ HexDump() [2/2]

static void HexDump ( System.IO.Stream  ins)
static

This method prints a formatted hex dump of the contents of the given input stream to the standard output stream.

Parameters
insSystem.IO.Stream containg data to be dumped

◆ SetKey()

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. This is not used in the unlimited redistribution versions.

Parameters
rtkeyRun-time key generated by ASN1C

◆ SetPermanentKey()

void SetPermanentKey ( byte []  rtkey)

This method is used to set a run-time key value such that subsequent calls to SetKey won't overwrite it.

Parameters
rtkeyThe run-time key to set.

References Diag.HexDump(), Diag.Instance(), and Diag.SetEnabled().

Property Documentation

◆ Context

Asn1Context Context
get

The event dispatcher for this buffer.

Referenced by Asn1OpenExt.SetOpenType().

◆ TypeCode

virtual short TypeCode
set