win32security.LsaStorePrivateData

LsaStorePrivateData(PolicyHandle, KeyName, PrivateData)

Stores encrypted unicode data under specified Lsa registry key. Returns None on success

Parameters

PolicyHandle : PyLSA_HANDLE

An LSA policy handle as returned by win32security::LsaOpenPolicy

KeyName : string

Registry key in which to store data

PrivateData : PyUNICODE

Unicode string to be encrypted and stored