Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit 71d921def5 - Show all commits

View file

@ -12,6 +12,14 @@
private string $value; private string $value;
private PrivacyState $privacyState; private PrivacyState $privacyState;
/**
* Constructor method.
*
* @param array $data An associative array containing the keys:
* - 'name': The name of the information field.
* - 'value': The value of the information field.
* - 'privacy_state': The privacy state of the information field.
*/
public function __construct(array $data) public function __construct(array $data)
{ {
$this->name = InformationFieldName::from($data['name']); $this->name = InformationFieldName::from($data['name']);