Skip to content

Commit b3ef83a

Browse files
committed
update ec crypto schemes with references
1 parent 35c10d2 commit b3ef83a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/ecdsa-w3c-vc.md

+11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ title: ECDSA (P256) verifiable credentials
44

55
# {{ $frontmatter.title }}
66

7+
Conforming to:
8+
- [Verifiable Credentials Data Model v2.0](https://www.w3.org/TR/vc-data-model-2.0/)
9+
- [Verifiable Credential Data Integrity v1.0](https://www.w3.org/TR/vc-data-integrity/)
10+
- [Data Integrity ECDSA Cryptosuites v1.0](https://www.w3.org/TR/vc-di-ecdsa/)
11+
712
## Generate keys
813

914
<<< @/ecdsa_keyring.slang{gherkin}
@@ -14,6 +19,8 @@ title: ECDSA (P256) verifiable credentials
1419

1520
<<< @/ecdsa_keyring.out.json{json}
1621

22+
Results in both private and public keys, which can also be generated in two separate steps and should be stored consciously. The public key may be registered as a DID.
23+
1724
## Prepare for signature
1825

1926
### Input
@@ -36,6 +43,8 @@ title: ECDSA (P256) verifiable credentials
3643

3744
<<< @/ecdsa_rdf-canon-objects.out.json
3845

46+
Results in seralized canonical RDF versions of the document and signature settings ready for signature, conforming to [RDF Dataset Canonicalization](https://www.w3.org/TR/rdf-canon/).
47+
3948
## Sign the credentials
4049

4150
### Input
@@ -68,6 +77,8 @@ title: ECDSA (P256) verifiable credentials
6877

6978
<<< @/ecdsa_prepare-verification-signed-doc.out.json
7079

80+
Results again in serialized canonical RDF version of the document and signature settings. Public key may be retrieved from DID.
81+
7182
## Verify the signature
7283

7384
### Input

src/eddsa-w3c-vc.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ title: EDDSA (ed25519) verifiable credentials
44

55
# {{ $frontmatter.title }}
66

7+
Conforming to:
8+
- [Verifiable Credentials Data Model v2.0](https://www.w3.org/TR/vc-data-model-2.0/)
9+
- [Verifiable Credential Data Integrity v1.0](https://www.w3.org/TR/vc-data-integrity/)
10+
- [Data Integrity EdDSA Cryptosuites v1.0](https://www.w3.org/TR/vc-di-eddsa/)
11+
712
## Generate keys
813

914
<<< @/eddsa_keyring.slang{gherkin}

0 commit comments

Comments
 (0)