Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
0589813c
Commit
0589813c
authored
Mar 15, 2016
by
garciay
Browse files
STF507 week#11:
. Implement additional TPs . Review of the PICS, TSS&TPs & PIXITs documents
parent
a4f9a6a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ttcn/Security/LibItsSecurity_Functions.ttcn3
View file @
0589813c
...
...
@@ -388,10 +388,10 @@ module LibItsSecurity_Functions {
p_protocolVersion
,
v_trailerSize
);
log
(
"m_toBeSignedSecuredMessage_wrong_protocol="
,
v_toBeSignedSecuredMessage
);
//
log("m_toBeSignedSecuredMessage_wrong_protocol=", v_toBeSignedSecuredMessage);
v_secPayload
:=
bit2oct
(
encvalue
(
v_toBeSignedSecuredMessage
));
log
(
"v_secPayload="
,
v_secPayload
);
//
log("v_secPayload=", v_secPayload);
// Signed payload
if
(
ispresent
(
p_certificateName
)
and
(
valueof
(
p_certificateName
)
!=
cc_taCert_A
))
{
...
...
@@ -407,7 +407,7 @@ module LibItsSecurity_Functions {
v_secPayload
,
v_privateKey
);
log
(
"v_signature="
,
v_signature
);
//
log("v_signature=", v_signature);
// log("p_trailerStatus=", p_trailerStatus);
if
(
p_trailerStatus
==
0
)
{
// No signature
...
...
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