Asn1MessageBuffer Class Reference
Public Member Functions | |
abstract System.IO.Stream | GetInputStream () |
void | SetKey (byte[] rtkey) |
void | SetPermanentKey (byte[] rtkey) |
Static Public Member Functions | |
static void | HexDump (System.IO.Stream ins) |
static void | HexDump (System.IO.Stream ins, System.IO.StreamWriter outs) |
Detailed Description
This is the base class for all of the different message buffer types. This includes the BER and PER encode and decode message buffer classes.
Member Function Documentation
abstract System.IO.Stream GetInputStream | ( | ) | [pure virtual] |
This abstract method must be implemented by all of the derived classes. It returns an input stream object reference to the message buffer contents (i.e. the encoded data).
- Returns:
- Input stream object reference
Implemented in Asn1BerEncodeBuffer, Asn1DecodeBuffer, Asn1PerEncodeBuffer, Asn1XerEncodeBuffer, and Asn1XmlEncodeBuffer.
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:
-
ins System.IO.Stream containg data to be dumped
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:
-
ins System.IO.Stream containg data to be dumped outs StreamWriter to which formatted data is to be written
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:
-
rtkey Run-time key generated by ASN1C
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:
-
rtkey The run-time key to set.