Skip to content

Commit

Permalink
Merge pull request #50 from WeBankFinTech/feature/modify-context
Browse files Browse the repository at this point in the history
Context modifications
  • Loading branch information
chaoxinhu committed Aug 7, 2019
2 parents c616f8d + 5c25ed1 commit 84cf12c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions context/v1
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"id": "@id",
"type": "@type",

"weidentity": "https://fintech.webank.com/weidentity/vocab",
"weidentity": "https://github.com/WeBankFinTech/WeIdentity/blob/master/context/vocabulary.md",

"EcdsaSignature": "weidentity:EcdsaSignature"
"Secp256k1": "weidentity:Secp256k1"
}
}
10 changes: 5 additions & 5 deletions context/vocabulary.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ This specification makes use of the following namespaces:
weidentity: https://fintech.webank.com/weidentity/vocab

## Classes
### EcdsaSignature
### Secp256k1

An EcdsaSignature is used for digital signatures on datasets. By default, this signature mechanism uses a ```SHA-256 digest``` and ```ECDSA signature``` algorithm-scheme to perform the digital signature.
An Secp256k1 is used for digital signatures on datasets. By default, this signature mechanism uses a ```SHA-256 digest``` and ```ECDSA signature``` with SECP256K1 as the specific algorithm-scheme to perform the digital signature, authentication, and verification.

- Identifier
EcdsaSignature
Secp256k1
- Status
stable
- Parent Class
Expand All @@ -36,9 +36,9 @@ The example below shows how a basic JSON-LD signature is expressed in a JSON-LD

```java
{
"@context": ["http://fintech.webank.com/weidentity/v1"]
"@context": ["https://github.com/WeBankFinTech/WeIdentity/blob/master/context/v1"]
"signature": {
"type": "EcdsaSignature",
"type": "Secp256k1",
"creator": "did:weid:0xca35b7d915458ef540ade6068dfe2f44e8fa733c",
"created": "2018-11-05T13:12:54Z",
"signature": "OGCzNGVkMzVmMmQ31DIyOWM32MzQzNmEx3goYzI4ZDY3NjI4NTIy5Tk="
Expand Down

0 comments on commit 84cf12c

Please sign in to comment.