class axl::sys::win::CryptMsg

#include <axl_sys_win_CryptMsg.h>

class CryptMsg: public axl::sl::Handle
{
public:
    // construction

    CryptMsg();
    CryptMsg(HCRYPTMSG h);

    // methods

    bool
    openToDecode(
        dword_t encodingType,
        dword_t msgFlags,
        dword_t msgType,
        HCRYPTPROV_LEGACY hCryptProv = NULL,
        CERT_INFO* recipientInfo = NULL,
        CMSG_STREAM_INFO* streamInfo = NULL
        );

    bool
    update(
        const void* p,
        size_t size,
        bool isFinal = true
        );

    size_t
    getParam(
        dword_t type,
        dword_t index,
        void* p,
        size_t size
        );

    size_t
    getParam(
        sl::Array<char>* buffer,
        dword_t type,
        dword_t index = 0
        );
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();