SetSignProcessPFXFromFile

Beveiliging en handtekeningen

Beschrijving

Stelt een bestand in als digitale identiteit voor een digitaal ondertekeningsproces

Het bestand moet in het PKCS #12-formaat zijn, ook bekend als PFX-bestand, en moet zowel een private key als een X.509-certificaat bevatten. PFX-bestanden zijn meestal met een wachtwoord beveiligd

Syntaxis

Delphi

Function TPDFlib.SetSignProcessPFXFromFile(SignProcessID: Integer; Const PFXFileName, PFXPassword: WideString): Integer;

ActiveX

Function PDFlib::SetSignProcessPFXFromFile(SignProcessID As Long, PFXFileName As String, PFXPassword As String) As Long

DLL

int DLSetSignProcessPFXFromFile(int InstanceID, int SignProcessID, const wchar_t* PFXFileName, const wchar_t* PFXPassword);
int DLSetSignProcessPFXFromFileA(int InstanceID, int SignProcessID, const char* PFXFileName, const char* PFXPassword);

Parameters

SignProcessIDEen waarde geretourneerd door de functies NewSignProcessFromFile, NewSignProcessFromStream of NewSignProcessFromString
PFXFileNameHet pad en de naam van het PFX-handtekeningbestand (PKCS #12-formaat)
PFXPasswordHet wachtwoord om het PFX-bestand te openen

Retourwaarden

1De PFX-bestandsnaam en het wachtwoord zijn als handtekeningsidentiteit opgeslagen, waarbij een eventuele certificaatopslag- of sleuteltype-identiteit wordt vervangen
0SignProcessID is geen geldig handtekeningsproces