ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
Signing a string via a Certificate variable Hide the details
Signature of string (in PKCS7 format (DER)). This buffer can be used later by CertificateCheckString to check the correspondence between the signature and the string.
Character string to sign.
Name of Certificate variable containing the certificate that will be used to sign the string.
Signing a string via a numeric signature Hide the details
Signature of string (in requested format). This buffer can be used later by CertificateCheckString to check the correspondence between the signature and the string.
Full path to a PKCS12 file (.p12/.pfx) containing the private key and the certificates. This file can be included in the application library (WDL file).
Password that will be used to decrypt the certificate file if this one is password-protected.
Allows you to specify: the hashing algorithm used (optional for a signature in PKCS7 format): certMD5MD5 algorithm. Not recommended because unreliable. This type of algorithm is not allowed with the "elliptic curve" signatures. certSHA160SHA1 algorithm. certSHA256SHA2 algorithm. A 256-bit result is produced. certSHA384SHA-384 algorithm. A 384-bit result is produced. This type of algorithm is not supported by the "DSA" signatures.certSHA512SHA-512 algorithm. A 512-bit result is produced. This type of algorithm is not supported by the "DSA" signatures.the signature format: certPKCS7EnvelopedContainer in PKCS7 format (DER) containing the signature, the string of certificates and the signed data. Remark: if this constant is used, the hashing algorithm is optional. If it is not specified, an appropriate algorithm will be automatically chosen.certPKCS7Enveloped + certPKCS7PEMContainer in PKCS7 format (PEM) containing the signature, the string of certificates and the signed data. Remark: if this constant is used, the hashing algorithm is optional. If it is not specified, an appropriate algorithm will be automatically chosen.certPKCS7WithCertificateContainer in PKCS7 format (DER) containing the signature and the string of certificates. Remark: if this constant is used, the hashing algorithm is optional. If it is not specified, an appropriate algorithm will be automatically chosen.certPKCS7WithCertificate + certPKCS7PEMContainer in PKCS7 format (PEM) containing the signature and the string of certificates. Remark: if this constant is used, the hashing algorithm is optional. If it is not specified, an appropriate algorithm will be automatically chosen.certPKCS7WithoutCertificateContainer in PKCS7 format (DER) containing the signature. Remark: if this constant is used, the hashing algorithm is optional. If it is not specified, an appropriate algorithm will be automatically chosen. certPKCS7WithoutCertificate + certPKCS7PEMContainer in PKCS7 format (PEM) containing the signature.Remark: if this constant is used, the hashing algorithm is optional. If it is not specified, an appropriate algorithm will be automatically chosen. certSignatureOnlyThe output contains the rough signature, without container. This options is required for the compliance of accountancy software (NF525 standard). With this option, only the key section of PFX file will be used (the certificate section containing the date will not be used).Caution: if this constant is used, the hashing algorithm must be specified. Remark: The signature algorithm is defined by the private key (RSA, DSA, Elliptic curve).
Validity of certificate (syntax 1)
Last update: 12/04/2020
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: