SetPublicKeyDecryptionStore

Bezpečnosť a podpisy

Opis

Nastaví Windows certificate store prehľadávaný po zodpovedajúcom súkromnom kľúči príjemcu pri následných načítaniach dokumentov

Syntax

Delphi

Function TPDFlib.SetPublicKeyDecryptionStore(Const StoreName: WideString; UseMachineStore: Integer): Integer;

ActiveX

Function PDFlib::SetPublicKeyDecryptionStore(StoreName As String, UseMachineStore As Long) As Long

DLL

int DLSetPublicKeyDecryptionStore(int InstanceID, const wchar_t* StoreName, int UseMachineStore);

Parametre

StoreNameWindows certificate store name such as MY
UseMachineStoreUse a nonzero value for the local-machine store or zero for the current-user store

Návratové hodnoty

1The store selection was retained
0The store name was empty

Poznámky

The DLL also exports DLSetPublicKeyDecryptionStoreA for ANSI strings

Pozri tiež

SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential