1.0.0-0 • Published 3 months ago
did-generator v1.0.0-0
Gaia-X AISBL DID Generator Library
This library allows you to generate a ready to use DID.
It uses your certificate to generate it, and thus relies on several x509/crypto libraries to work.
Usage
import {createDidDocument} from '@gaia-x/did-web-generator'
//...
function getDid(){
return createDidDocument("https://mycompanydomain.com", "x509Certificate.pem", myX509Cert)
}
The DID creation process requires certificate analysis, we suggest you cache the result DID to avoid more computation
1.0.0-0
3 months ago