|
|
|
|
|
- Validity of certificate
- Managing certificates in WEBDEV
CertificateSignFile (Function) In french: CertificatSigneFichier Creates the signature of a file. This signature can be stored in a Buffer variable or in a text file. Syntax
<Result> = CertificateSignFile(<File path> , <Certificate> [, <Signature file>])
<Result>: Buffer Signature of the file. This buffer can be used later by CertificateCheckBufferSignatureFile to check the correspondence between the signature and the file. <File path>: Character string Name and full (or relative) path of the file for which a signature will be created. <Certificate>: Certificate variable Name of Certificate variable containing the certificate that will be used to create the signature of the file. <Signature file>: Optional character string Name and full (or relative) path of the file containing the signature. This file can be used later by CertificateCheckFileSignatureFile to check the correspondence between the signature and the file. Remarks Validity of certificate Before signing a file, it is recommended to check the validity of the certificate ( ValidForSignature property of the Certificate variable). This property is used to find out whether the certificate owns a private key as well as all the characteristics required to perform a signature. CertificateSignFile returns an error if this property is set to False.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|