MessageSigner
MessageSigner:
object
Signs the message-signing key that a session uses to authenticate its traffic to the other party.
Type declaration
keyType
keyType:
MasterKeyType
The type of key used for signing.
publicKeyB64
publicKeyB64:
string
The public key in base64 format.
sign()
Signs a message using the private key.
Parameters
messageB64
string
The message to sign, encoded in base64.
Returns
string | Promise<string>
The signature in base64 format.