Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 2.43 KB

low-level-messages.md

File metadata and controls

36 lines (22 loc) · 2.43 KB
description ms.assetid title ms.topic ms.date
The low-level message functions encode data for transmission and decode data that has been received. Low-level message functions also decrypt and verify the signatures of received messages.
42c19920-c7f7-4a4d-9de3-3de9a34fbe0c
Low-level Message Functions
article
05/31/2018

Low-level Message Functions

The low-level message functions encode data for transmission and decode data that has been received. Low-level message functions also decrypt and verify the signatures of received messages.

When a message is opened using a low-level message open function, it remains open and available (maintains its state) until it is closed. This allows a message to be constructed piecemeal using multiple calls to the CryptMsgUpdate function.

Using low-level message functions requires more function calls than using simplified message functions (see Simplified Messages). If the simplified message functions are used, more of the work is done inside the functions of the API.

Using low-level message functions involves the additional work of making calls to other certificate or cryptographic functions. For example, data from calls to certificate functions may be needed to initialize structures used by these low-level message functions. Simplified message functions initialize many of these structures internally.

The following table lists sections with procedure descriptions and C code examples of using the low-level message functions.

Section Contents
Low-level Message Functions Lists the low-level message functions.
Signing Data Details the tasks needed to sign data.
Encoding Enveloped Data Details the tasks needed to encode enveloped data.
Decoding Enveloped Data Details the tasks needed to decode enveloped data.