SetPublicKeyDecryptionStore
Ασφάλεια και υπογραφές
Περιγραφή
Ορίζει το Windows certificate store που αναζητείται για αντιστοιχούν private key παραλήπτη κατά επόμενες φορτώσεις εγγράφων
Σύνταξη
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);
Παράμετροι
| StoreName | Όνομα του Windows Certificate Store, όπως MY |
|---|---|
| UseMachineStore | Χρησιμοποιήστε μη μηδενική τιμή για το store τοπικής μηχανής ή μηδέν για το store τρέχοντος χρήστη |
Τιμές επιστροφής
| 1 | Η επιλογή store διατηρήθηκε |
|---|---|
| 0 | The store name was empty |
Παρατηρήσεις
The DLL also exports DLSetPublicKeyDecryptionStoreA for ANSI strings
Δείτε επίσης
SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential