CContentEncryptionParams¶
-
class
Lib3MF
::
CContentEncryptionParams
: public CBase¶ -
eEncryptionAlgorithm
GetEncryptionAlgorithm
()¶ Returns the encryption method to be used in this encryption process
- Returns
-
void
GetKey
(std::vector<Lib3MF_uint8> &ByteDataBuffer)¶ Gets the key for the resource associated
- Parameters
ByteDataBuffer – Pointer to a buffer where to place the key.
-
void
GetInitializationVector
(std::vector<Lib3MF_uint8> &ByteDataBuffer)¶ Gets the IV data
- Parameters
ByteDataBuffer – Pointer to a buffer where to place the data.
-
void
GetAuthenticationTag
(std::vector<Lib3MF_uint8> &ByteDataBuffer)¶ A handler descriptor that uniquely identifies the context of the resource. Each resource will be assigned a different value
- Parameters
ByteDataBuffer – Pointer to a buffer where to place the data.
-
void
SetAuthenticationTag
(const CInputVector<Lib3MF_uint8> &ByteDataBuffer)¶ Sets the authentication tag
- Parameters
ByteDataBuffer – The authentication tag size
-
void
GetAdditionalAuthenticationData
(std::vector<Lib3MF_uint8> &ByteDataBuffer)¶ A handler descriptor that uniquely identifies the context of the resource. Each resource will be assigned a different value
- Parameters
ByteDataBuffer – Buffer where the data will be placed
-
Lib3MF_uint64
GetDescriptor
()¶ A handler descriptor that uniquely identifies the context of the resource. Each resource will be assigned a different value
- Returns
-
std::string
GetKeyUUID
()¶ Gets the resourcedatagroup keyuuid
- Returns
The resourcedatagroup keyuuid that may be use to reference an external key
-
eEncryptionAlgorithm
-
typedef std::shared_ptr<CContentEncryptionParams>
Lib3MF
::
PContentEncryptionParams
¶ Shared pointer to CContentEncryptionParams to easily allow reference counting.