sign

fun sign(did: <Error class: unknown class>)

Signs the Message using the specified BearerDid.

Parameters

did

The DID (Decentralized Identifier) used for signing.

Throws

if the signing operation fails.