* @param p_signer_identifier Signer identifier for signature, could be self or certificate HashedId8
* @param p_recipientId Recipient identifier to be inclued in encrypted layer.
* If value is int2oct(0. 8), the recipient id is the HashedId8 of the symmetric key used by the sender to encrypt the message to which the response is built
* @param p_publicKeyCompressed The public compressed key (canonical form) for encryption
* @param p_compressedMode The compressed mode of the public compressed key (canonical form) for encryption
* @param p_pki_message The PKI message to be secured
* @param p_ieee1609dot2_signed_and_encrypted_data The secured message
* @return true on success, false otherwise
*/
functionf_build_pki_secured_message(
inOct32p_private_key,
inoctetstringp_private_key,
inSignerIdentifierp_signer_identifier,
inHashedId8p_recipientId,
inOct32p_publicKeyCompressed,
...
...
@@ -267,7 +281,7 @@ module LibItsPki_Functions {
m_signedDataPayload(
m_etsiTs103097Data_unsecured(p_pki_message)
),
m_headerInfo_inner_ec_request(12345,f_getCurrentTime())// TODO Use PIXIT
m_headerInfo_inner_ec_request(12345,f_getCurrentTimeUtc())// TODO Use PIXIT