struct CCL::Security::ICredential

Overview

#include <icredentialmanager.h>

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

    virtual tresult CCL_API getTargetName (String& targetName) const = 0;
    virtual tresult CCL_API getUserName (String& userName) const = 0;
    virtual tresult CCL_API getGroupName (String& groupName) const = 0;
    virtual tresult CCL_API getDataReference (Crypto::Block& block) const = 0;
    virtual tresult CCL_API getPassword (String& password) const = 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 getTargetName (String& targetName) const = 0

Get target name (describes what the credential is used for).

virtual tresult CCL_API getUserName (String& userName) const = 0

Get associated user name.

virtual tresult CCL_API getGroupName (String& groupName) const = 0

Get the name of the group the credential belongs to, if any.

virtual tresult CCL_API getDataReference (Crypto::Block& block) const = 0

Get reference to associated data (password, certificate, etc.).

virtual tresult CCL_API getPassword (String& password) const = 0

Get data as (password) string.