From 2e83429083e1b5ddf5522a99da54502bb817373d Mon Sep 17 00:00:00 2001 From: backslash47 Date: Wed, 25 Apr 2018 10:36:27 +0200 Subject: [PATCH] Update OEP-Y.mediawiki --- OEP-Y.mediawiki | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OEP-Y.mediawiki b/OEP-Y.mediawiki index 3a2c2b6..a1373ca 100644 --- a/OEP-Y.mediawiki +++ b/OEP-Y.mediawiki @@ -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=== @@ -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 }, }