ASN1Context Class Reference
[Context Management Classes]
#include <ASN1Context.h>
Inheritance diagram for ASN1Context:
Public Member Functions | |
EXTRTMETHOD | ASN1Context () |
virtual EXTRTMETHOD int | setRunTimeKey (const OSOCTET *key, size_t keylen) |
OSCTXT * | GetPtr () |
void | PrintErrorInfo () |
Detailed Description
Reference counted ASN.1 context class. This keeps track of all encode/decode function variables between function invocations. It is reference counted to allow a message buffer and type class to share access to it.
Constructor & Destructor Documentation
EXTRTMETHOD ASN1Context::ASN1Context | ( | ) |
The default constructor initializes the mCtxt member variable for ASN.1 encoding/decoding.
Member Function Documentation
virtual EXTRTMETHOD int ASN1Context::setRunTimeKey | ( | const OSOCTET * | key, | |
size_t | keylen | |||
) | [virtual] |
This method sets run-time key in the context. When using an unlimited runtime, this method will still set the key, but the runtime does not actually check it.
- Parameters:
-
key - array of octets with the key keylen - number of octets in key array.
- Returns:
- Completion status of operation:
- 0 = success,
- negative return value is error.
Reimplemented from OSRTContext.
The documentation for this class was generated from the following file: