Skip to content

Commit

Permalink
Update OEP-Y.mediawiki
Browse files Browse the repository at this point in the history
  • Loading branch information
backslash47 authored Apr 25, 2018
1 parent 615dde9 commit 2e83429
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OEP-Y.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This proposal makes use of the following functions and definitions:
*'''Key type''', a type of key (ECDSA, SM2, EDDSA).
*'''Key type byte''', an one byte representation of Key type used.
*'''Curve type''', a specific elliptic curve used (e.g.: secp256r1(P256)).
*'''Cerve type byte''', an one byte representation of Curve type used.
*'''Curve type byte''', an one byte representation of Curve type used.
*'''Operation ||''', a string concatenation operation.
===General verification process===
Expand Down Expand Up @@ -67,9 +67,9 @@ Result Signature is embedded into Request object:
"OntId": "did:ont:TWbWxyRQaxsG3saSZaUt6pHTghgta4qWBA",
...,
"Signature": {
"PubKey": PublicKey,
"PubKey": KeyTypeByte || CurveTypeByte || PublicKey,
"Algorithm": SignatureSchemaByte
"SigData": KeyTypeByte || CurveTypeByte || SignedHash
"SigData": SignedHash
},
}
</pre>
Expand Down

0 comments on commit 2e83429

Please sign in to comment.