8000 GitHub - indrajra/inCredible: Open Standard for Electronic Credentialing
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Open Standard for Electronic Credentialing

License

Notifications You must be signed in to change notification settings

indrajra/inCredible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electronic Skill Credential Specification

Documentation

  1. Skill credential vocabulary: JSON-LD context document describing the vocabulary used for credential documents.
  2. Object model: Useful reference for understanding details of properties contained within a credential
  3. Data model: Some helpful notes on modeling credentials data and creating strong identifiers for entities involved in issuing skill credentials.
  4. Signing & Verification guide: Collection of details connected with signing and verification of credential objects

Utilities

Cross-language signing and verification libraries are available in Python and JavaScript.

Python

There is an implementation of credential signing and verification available in skillcreds-py

Using this library, one can sign a credential in a short snippet of code:

from skillcreds import signatures, suites

key_id = 'https://example.com/keys/exampleKey'
private_key, _ = load_key_pair(key_file)

signature = signatures.LinkedDataSignature(suites.RsaSignature2018())
signed_credential = signature.sign(credential, private_key, key_id)

JavaScript

There is an implementation of credential signing and verification available in skillcredjs

Using this library, one can sign a credential using the following snippet:

var sc = require('skillcreds');

var keyId = 'https://example.com/keys/exampleKey';
var privateKey = loadKeyPair(keyFile);
var signature = sc.signatures.LinkedDataSignature(sc.suites.RsaSignature2018());
var signedCredential = signature.sign(credential, privateKey, keyId);

Specification documents

You may be interested in reading the latest specification or the accompanying implementation guide

FAQ

About

Open Standard for Electronic Credentialing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0