Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
rust
Dunitrust
Merge requests
!39
Resolve "Add Revocation document structure, building and parsing"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "Add Revocation document structure, building and parsing"
48-add-revocation-document-structure-building-and-parsing
into
dev
Overview
0
Commits
1
Pipelines
0
Changes
3
Merged
Éloïs
requested to merge
48-add-revocation-document-structure-building-and-parsing
into
dev
7 years ago
Overview
0
Commits
1
Pipelines
0
Changes
3
Closes
#48 (closed)
Edited
7 years ago
by
Éloïs
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
dc5cd98f
1 commit,
7 years ago
3 files
+
307
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
documents/blockchain/v10/documents/certification.rs
+
2
−
2
View file @ dc5cd98f
Edit in single-file editor
Open in Web IDE
Show full file
@@ -173,7 +173,7 @@ impl<'a> TextDocumentBuilder for CertificationDocumentBuilder<'a> {
fn
generate_text
(
&
self
)
->
String
{
format!
(
"Version: 10
Type:
Membership
Type:
Certification
Currency: {currency}
Issuer: {issuer}
IdtyIssuer: {target}
@@ -259,7 +259,7 @@ mod tests {
)
.unwrap
();
let
sig
=
ed25519
::
Signature
::
from_base64
(
"
xNhaCa+HgrQh/2koZ3a7PGku8h+NXIp7YxFcLYzS/YLwNA4lNXOks8hAIX4QyPy7hTUWPlhcQNdq74exXm5p
Cw=="
,
"
qfR6zqT1oJbqIsppOi64gC9yTtxb6g6XA9RYpulkq9ehMvqg2VYVigCbR0yVpqKFsnYiQTrnjgFuFRSJCJDf
Cw=="
,
)
.unwrap
();
let
target
=
ed25519
::
PublicKey
::
from_base58
(
Loading