Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LibIts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TTCN-3 Libraries
LibIts
Commits
50f63dfd
Commit
50f63dfd
authored
5 years ago
by
Yann Garcia
Browse files
Options
Downloads
Patches
Plain Diff
Bug fixed on generationTime calculation
parent
a944e1ac
No related branches found
No related tags found
1 merge request
!3
EndOfTtf011
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ttcn/Pki/LibItsPki_Functions.ttcn
+4
-4
4 additions, 4 deletions
ttcn/Pki/LibItsPki_Functions.ttcn
with
4 additions
and
4 deletions
ttcn/Pki/LibItsPki_Functions.ttcn
+
4
−
4
View file @
50f63dfd
...
...
@@ -1285,7 +1285,7 @@ module LibItsPki_Functions {
),
m_headerInfo_inner_pki_request
(
-
,
f_getCurrentTime
Utc
()
(
f_getCurrentTime
()
*
1000
)
//us
)
);
// Signed the encoded InnerEcRequestSignedForPop
...
...
@@ -1486,7 +1486,7 @@ module LibItsPki_Functions {
m_signedDataPayload_ext
(
v_hash_shared_at_request
),
// Payload containing extDataHash
m_headerInfo_inner_pki_request
(
// HeaderInfo
-
,
f_getCurrentTime
Utc
())
(
f_getCurrentTime
())
*
1000
)
//us
);
log
(
"f_generate_inner_at_request: v_tbs= "
,
v_tbs
);
// Signed ToBeSigned payload using the private key of EC certificate obtained from Enrolment request
...
...
@@ -1966,7 +1966,7 @@ module LibItsPki_Functions {
m_signedDataPayload
(
m_etsiTs103097Data_unsecured
(
p_pki_message
)
),
m_headerInfo_inner_pki_request
(
-
,
f_getCurrentTime
Utc
()
)
m_headerInfo_inner_pki_request
(
-
,
(
f_getCurrentTime
()
*
1000
)
/*us*/
)
);
log
(
"f_build_pki_secured_request_message_signed_with_pop: signer: "
,
p_signer_identifier
);
if
(
PICS_SECPKI_REENROLMENT
==
false
)
{
// This is the first enrolment, we used Factory keys
...
...
@@ -2367,7 +2367,7 @@ module LibItsPki_Functions {
m_signedDataPayload
(
m_etsiTs103097Data_unsecured
(
p_pki_message
)
),
m_headerInfo_inner_pki_response
(
-
,
f_getCurrentTime
Utc
()
)
m_headerInfo_inner_pki_response
(
-
,
(
f_getCurrentTime
()
*
1000
)
/*us*/
)
);
if
(
ischosen
(
p_signer_identifier
.
self_
))
{
v_tbs_signed
:=
f_signWithEcdsaNistp256WithSha256
(
bit2oct
(
encvalue
(
v_tbs
)),
int2oct
(
0
,
32
),
p_private_key
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment