CResourceDataGroup

class Lib3MF::CResourceDataGroup : public CBase
std::string GetKeyUUID()

Sets the resourcedatagroup keyuuid

Returns:

The new resourcedatagroup keyuuid.

PAccessRight AddAccessRight(CConsumer *pConsumer, const eWrappingAlgorithm eWrappingAlgorithm, const eMgfAlgorithm eMgfAlgorithm, const eDigestMethod eDigestMethod)

Add accessright to resourcedatagroup element

Parameters:
  • pConsumer – The Consumer reference

  • eWrappingAlgorithm – The key wrapping algorithm to be used

  • eMgfAlgorithm – The mask generation function to be used

  • eDigestMethod – The digest mechanism to be used

Returns:

The acess right instance

PAccessRight FindAccessRightByConsumer(CConsumer *pConsumer)

Finds the AccessRight associated with a Consumer

Parameters:

pConsumer – The Consumer instance

Returns:

The AcessRight instance

void RemoveAccessRight(CConsumer *pConsumer)

Removes access from a Consumer on this resource data group

Parameters:

pConsumer – The Consumer instance

typedef std::shared_ptr<CResourceDataGroup> Lib3MF::PResourceDataGroup

Shared pointer to CResourceDataGroup to easily allow reference counting.