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 διατηρήθηκε
0The store name was empty

Παρατηρήσεις

The DLL also exports DLSetPublicKeyDecryptionStoreA for ANSI strings

Δείτε επίσης

SetPublicKeyDecryptionPFX, ClearPublicKeyDecryptionCredential