3.1.4.6.12 LsarRetrievePrivateData2 (Opnum 141)
The LsarRetrievePrivateData2 method is invoked to retrieve a secret value.<93>
-
NTSTATUS LsarRetrievePrivateData2( [in] LSAPR_HANDLE PolicyHandle, [in] PLSAPR_AES_CIPHER_VALUE EncryptedKeyName, [in, out, unique] PLSAPR_AES_CIPHER_VALUE *EncryptedData );
PolicyHandle: An RPC context handle obtained from either LsarOpenPolicy (section 3.1.4.4.2) or LsarOpenPolicy2 (section 3.1.4.4.1).
EncryptedKeyName: The name identifying the secret value to be retrieved. This is encrypted to specification per AES Cipher Usage (section 5.1.5).
EncryptedData: Receives the encrypted value of the secret object. This is encrypted to specification per AES Cipher Usage (section 5.1.5).
Return Values: The return values are the same as specified for LsarRetrievePrivateData (section 3.1.4.6.6).
Processing:
The processing is the same as LsarRetrievePrivateData (section 3.1.4.6.6) with the exception that, the encrypted EncryptedKeyName and EncryptedData are encrypted.