SetPublicKeyDecryptionStore

Güvenlik ve imzalar

Açıklama

Sonraki belge yüklemelerinde eşleşen alıcı özel anahtarının aranacağı Windows sertifika deposunu ayarlar

Sözdizimi

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);

Parametreler

StoreNameMY gibi Windows sertifika deposu adı
UseMachineStoreYerel makine deposu için sıfır olmayan bir değer, geçerli kullanıcı deposu için sıfır kullanın

Dönüş değerleri

1Depo seçimi tutuldu
0Depo adı boştu

Açıklamalar

DLL, ANSI dizeleri için DLSetPublicKeyDecryptionStoreA öğesini de dışa aktarır

Ayrıca bkz

SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential