registerPeerDID

suspend fun registerPeerDID(did: DID, keyAgreementKeyPair: KeyPair, authenticationKeyPair: KeyPair, updateMediator: Boolean)(source)

Registers a peer DID with the specified DID and private keys.

Parameters

did

The DID (Decentralized Identifier) to register.

keyAgreementKeyPair

The key pair used for key agreement.

authenticationKeyPair

The key pair used for authentication.

updateMediator

Whether to update the mediator with the DID.