create Peer DID
open override fun createPeerDID(keyPairs: Array<KeyPair>, services: Array<DIDDocument.Service>): DID(source)
Creates a DID for a peer (a device or server that acts as a DID subject) using given key agreement and authentication key pairs and a list of services.
Return
The DID of the peer
Parameters
key Pairs
The key pair used for key agreement (establishing secure communication between peers) and authentication (verifying the identity of a peer)
services
The list of services offered by the peer