createPeerDIDNumalgo2

Generates PeerDID according to the second algorithm For this type of algorithm DIDDoc can be obtained from PeerDID

Return

generated PeerDID

Parameters

encryptionKeys

list of encryption keys

signingKeys

list of signing keys

service

JSON string conforming to the DID specification

See also

Throws

  • if at least one of keys is not properly encoded

  • if service is not a valid JSON