Changes for ttcn/AtsPki/ItsPki_TestCases.ttcn: 56 added lines, 42 removed lines.
Original line number
Diff line number
Diff line
@@ -100,7 +100,7 @@ module ItsPki_TestCases {
if(f_verify_pki_request_message(vc_eaPrivateEncKey,vc_eaWholeHash/*salt*/,''O,p_request.body.binary_body.ieee1609dot2_data,true,v_request_hash,v_etsi_ts_102941_data,v_aes_enc_key)==false){// Cannot decrypt the message
// Send error message
v_response:=m_http_response(m_http_response_ko(m_http_message_body_binary(m_binary_body_ieee1609dot2_data(v_ieee1609dot2_signed_and_encrypted_data)),p_headers,400,"Bad request"));// Initialize v_reponse with an error message
v_response:=m_http_response(m_http_response_ko_no_body(p_headers,400,"Bad request"));// Initialize v_reponse with an error message
// Set verdict
p_result:=-1;
}else{
@@ -172,7 +172,7 @@ module ItsPki_TestCases {
if(f_verify_pki_request_message(vc_eaPrivateEncKey,vc_eaWholeHash/*salt*/,''O,p_request.body.binary_body.ieee1609dot2_data,true,v_request_hash,v_etsi_ts_102941_data,v_aes_enc_key)==false){// Cannot decrypt the message
// Send error message
v_response:=m_http_response(m_http_response_ko(m_http_message_body_binary(m_binary_body_ieee1609dot2_data(v_ieee1609dot2_signed_and_encrypted_data)),p_headers,400,"Bad request"));// Initialize v_reponse with an error message
v_response:=m_http_response(m_http_response_ko_no_body(p_headers,400,"Bad request"));// Initialize v_reponse with an error message
// Set verdict
p_result:=-1;
}else{
@@ -337,7 +337,7 @@ module ItsPki_TestCases {
* @see ETSI TS 103 525-2 v0.0.10 SECPKI_ITSS_ENR_01_BV