log("f_trigger_enrolment_request_await_response: match ",match(v_etsi_ts_102941_data.content,mw_enrolmentResponse(mw_innerEcResponse_ok(substr(v_request_hash,0,16),mw_etsiTs103097Certificate(-,mw_toBeSignedCertificate_ec,-))))," ***");// TODO In TITAN, this is the only way to get the unmatching in log
log("f_trigger_enrolment_request_await_response: match ", match(v_etsi_ts_102941_data.content, mw_enrolmentResponse(mw_innerEcResponse_ok(substr(v_request_hash, 0, 16), mw_etsiTs103097Certificate(-, mw_toBeSignedCertificate_ec, -)))), " ***"); // TODO In TITAN, this is the only way to get the unmatching in log
if (match(v_etsi_ts_102941_data.content, mw_enrolmentResponse(mw_innerEcResponse_ok(substr(v_request_hash, 0, 16), mw_etsiTs103097Certificate(-, mw_toBeSignedCertificate_ec, -))))) {
var InnerEcResponse v_inner_at_response := v_etsi_ts_102941_data.content.enrolmentResponse;
if (f_verify_at_certificate(v_etsi_ts_102941_data.content.enrolmentResponse.certificate, vc_eaCertificate, v_compressed_public_key, v_compressed_mode)) {
log("f_trigger_enrolment_request_await_response: Well-secured EA certificate received ***");
log(match(v_etsi_ts_102941_data.content,mw_authorizationResponse(mw_innerAtResponse_ok(substr(v_request_hash,0,16),mw_etsiTs103097Certificate(-,mw_toBeSignedCertificate_at,-)))));// TODO In TITAN, this is the only way to get the unmatching in log