CAccessRight

class Lib3MF::CAccessRight : public CBase
PConsumer GetConsumer()

Gets the consumer associated with this access right

Returns:

The consumer instance

eWrappingAlgorithm GetWrappingAlgorithm()

Gets the associated encryption algorithm

Returns:

The algorithm used for the key in this accessright

eMgfAlgorithm GetMgfAlgorithm()

Gets the associated mask generation function algorithm

Returns:

The MFG1 algorithm

eDigestMethod GetDigestMethod()

Gets the digest method assoicated

Returns:

The digest method for this accessright

typedef std::shared_ptr<CAccessRight> Lib3MF::PAccessRight

Shared pointer to CAccessRight to easily allow reference counting.