struct CCL::Security::Crypto::ICryptoKeyStore

Overview

#include <icryptokeystore.h>

struct ICryptoKeyStore: public CCL::IUnknown
{
    // methods

    virtual tresult CCL_API addMaterial (
        StringID name,
        MaterialType type,
        IStream& data
    ) = 0;

    virtual tresult CCL_API addMaterial (
        StringID name,
        MaterialType type,
        const void* data,
        uint32 length
    ) = 0;

    virtual tresult CCL_API getMaterial (
        IStream& data,
        StringID name,
        MaterialType type
    ) const = 0;

    virtual tresult CCL_API removeMaterial (StringID name, MaterialType type) = 0;
    virtual tresult CCL_API removeMaterial (StringID name) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual tresult CCL_API addMaterial (
    StringID name,
    MaterialType type,
    IStream& data
) = 0

Add material.

virtual tresult CCL_API addMaterial (
    StringID name,
    MaterialType type,
    const void* data,
    uint32 length
) = 0

Add material.

virtual tresult CCL_API getMaterial (
    IStream& data,
    StringID name,
    MaterialType type
) const = 0

Get material.

virtual tresult CCL_API removeMaterial (StringID name, MaterialType type) = 0

Remove material.

virtual tresult CCL_API removeMaterial (StringID name) = 0

Remove material.