Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
7e84e60a
Commit
7e84e60a
authored
Oct 10, 2018
by
garciay
Browse files
STF545: Execute first EA tests
parent
98c694df
Changes
1
Hide whitespace changes
Inline
Side-by-side
ttcn/AtsPki/ItsPki_TestCases.ttcn
View file @
7e84e60a
...
...
@@ -389,6 +389,7 @@ module ItsPki_TestCases {
// Preamble
// Generate InnerEcRequest
// TODO f_build_enrolment_request(v_private_key, v_publicKeyX, v_publicKeyY, v_publicKeyCompressed, v_compressedMode, v_ieee1609dot2_signed_and_encrypted_data);
if
(
f_generate_inner_ec_request
(
v_private_key
,
v_publicKeyX
,
v_publicKeyY
,
v_publicKeyCompressed
,
v_compressedMode
,
v_inner_ec_request
)
==
false
)
{
log
(
"*** "
&
testcasename
()
&
": FAIL: Failed to setup InnerEcRequestPoP message ***"
)
f_selfOrClientSyncAndVerdictPreamble
(
c_prDone
,
e_error
);
...
...
@@ -401,7 +402,7 @@ module ItsPki_TestCases {
stop
;
}
// Secure InnerEcRequestSignedForPoP message
v_inner_ec_request_signed_for_pop_msg
:=
encvalue
(
v_inner_ec_request_signed_for_pop
);
v_inner_ec_request_signed_for_pop_msg
:=
encvalue
(
m_etsiTs102941Data_inner_ec_request_signed_for_pop
(
v_inner_ec_request_signed_for_pop
)
)
;
if
(
f_build_pki_secured_message
(
v_private_key
,
v_publicKeyCompressed
,
v_compressedMode
,
bit2oct
(
v_inner_ec_request_signed_for_pop_msg
),
v_ieee1609dot2_signed_and_encrypted_data
)
==
false
)
{
log
(
"*** "
&
testcasename
()
&
": FAIL: Failed to seucure InnerEcRequestPoP message ***"
)
f_selfOrClientSyncAndVerdictPreamble
(
c_prDone
,
e_error
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment