MIRACL Trust DVS Web Plugin

# DVS

# Parameters

  • options Object

    • options.userId string ID of the currently logged-in user
    • options.server string Server address
    • options.clientId string Client ID for the registered platform application
    • options.redirectURI string Redirect URI for the registered platform application
    • options.allowBrowser boolean Allow signing in browser if set to true. Default is true
    • options.allowMobile boolean Allow signing with mobile app if set to true. Default is true
    • options.renderDocument function Should return a string representation of the provided document

# sign

Sign a document

# Parameters

# Signature

Type: Object

# Properties

  • Hash string Hash of the signed document
  • MpinId string M-Pin ID used to generate the signature
  • U string The random commitment generated by the user
  • V string The proof of the signature
  • PublicKey string User’s public key used in the key-escrowless scheme