• advertisement_alt
  • advertisement_alt
  • advertisement_alt

Search the Community

Showing results for tags 'certificateload'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Windev Desktop, Mobile, Web
    • Windev Desktop
    • Windev Mobile
    • Webdev
    • Bugs
  • Banco de Dados
    • HFSQL
    • PostgreSQL
    • MySQL, MariaDB, Outros
  • Vendendo Seu Peixe
    • Hire a Professional to solve your Demand!
    • Cursos
    • Aplicativos
  • Tips and Tricks
    • Tips and Tricks
    • Fivewin / xHb / Harbor migration to Windev

Categories

  • Files

Calendars

  • Community Calendar

Categories

  • Articles

Found 1 result

  1. Estou tendo dificuldade para assinar um PDF. Segui os exemplos do Windev e nada. Alguém tem um exemplo funcional? O meu código é o seguinte: // exemplo do windev //MySignature is pdfSignature //MySignature..Certificate = CertificateLoad("test.pfx", "pwd") //MySignature..Caption = "Signed by test" //PDFSign("mypdf.pdf", MySignature) //////////////////////////////////// //// meu código MyCertificate is Certificate edt_certificate is string = CertificateSelect() edt_pass is string = "1234" ar_certificate is array of Certificate ar_certificate = CertificateLoad(edt_certificate, edt_pass) MyCertificate = ar_certificate[1] MySignature is pdfSignature MySignature..Certificate = MyCertificate MySignature..Caption = "Teste de Assinatura" mRes is boolean = PDFSign("C:\My Projects\sign_mod\Exe\pedido_comanda_mesa_12.pdf", MySignature) IF mRes = True THEN Info("PDF Assinado") ELSE Info("PDF Não Assinado") END