create Peer DIDNumalgo2
fun createPeerDIDNumalgo2(encryptionKeys: List<VerificationMaterialAgreement>, signingKeys: List<VerificationMaterialAuthentication>, service: JSON?): PeerDID(source)
Generates PeerDID according to the second algorithm For this type of algorithm DIDDoc can be obtained from PeerDID
Return
generated PeerDID
Parameters
encryption Keys
list of encryption keys
signing Keys
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