1. Fernando Leal
  2. PowerBuilder
  3. Wednesday, 29 April 2020 17:14 PM UTC

Hi All, 

             How Can I  Create Digital Signature with a Digital Certificate in PowerBuilder?

            Do you have examples, documentation? 

thanks and regards,

 

John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 29 April 2020 18:00 PM UTC
  2. PowerBuilder
  3. # 1
Comment
  1. Fernando Leal
  2. Thursday, 30 April 2020 11:07 AM UTC
Hi John,

I have a certificate and I need to generate a digital signature for my PBDs (sources).
  1. Helpful
  1. Marco Meoni
  2. Thursday, 30 April 2020 13:38 PM UTC
Hi,

take .NET Framework 4.7 or .NET Core 2.0, build your C# class and import it intp PB via the new PB .NET Library Importer. The CertificateRequest class (https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.certificaterequest?view=netcore-2.0) can build a PKCS#10 certification signing request or an X.509 (self-signed or chained) public key certificate.

If you think a C# wrapper class may take you too much time, you can go for other opensource API (BouncyCastle) or licensed Win32 ActiveX (https://www.chilkatsoft.com/refdoc/xChilkatXmlDSigGenRef.html).

Best,

.m

  1. Helpful
There are no comments made yet.
Bjarne Anker Accepted Answer Pending Moderation
  1. Thursday, 30 April 2020 13:20 PM UTC
  2. PowerBuilder
  3. # 2

Why do you need to sign the PBD's?

We're using signtool.exe and a codesigning certificate to sign the EXE-file before shipping.

Works just fine.

 

br,

 

Bjarne

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.