Skip to content
Snippets Groups Projects

Implement pdf signing on the client

Merged Damyan Mitev requested to merge 32-sign-pdf-document-on-the-client-side into master
1 unresolved thread

new library function signPdf(passportUUID /string/, pdfRaw /array buffer|Uint8Array/)

Closes #32 (closed)

Merge request reports

Merged by avatar (Apr 7, 2025 7:13pm UTC)

Merge details

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
980
981 // response = await executeRestfulFunction(
982 // "private", window.viamApi, window.viamApi.passportGetEmailWithHeaderByPassport, null, passportUUID, emailMessage);
983 //
984 // if (response.code !== "200") {
985 // return encodeResponse("400", "", response.status);
986 // }
987 //
988 // const signedEmail = await signEmail(response.data, certificateOneTime, passportChain, privateKeyOneTime);
989 //
990 // response = await executeRestfulFunction(
991 // "private", window.viamApi, window.viamApi.signResignEmail, null, passportUUID, signedEmail);
992 //
993 // if (response.code !== "200") {
994 // return encodeResponse("400", "", response.status);
995 // }
  • Looks good to me.

  • added reviewed label

  • Damyan Mitev added 1 commit

    added 1 commit

    Compare with previous version

  • Damyan Mitev mentioned in merge request !41 (merged)

    mentioned in merge request !41 (merged)

  • Damyan Mitev added 1 commit

    added 1 commit

    Compare with previous version

  • Author Contributor

    Make @igor.markin happy

  • Damyan Mitev added 1 commit

    added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading