Discuss this help topic in SecureBlackbox Forum
TElX509Certificate.SaveKeyToBufferPVK
Saves the private key of the certificate to the memory buffer in PVK format.
Declaration
Parameters
Return value
Returns 0 if the key was successfully saved, and a PVK error code otherwise.
Description
This method saves the private key to the provided memory location of the given size. If the buffer is too small (or empty), Size parameter is set to the size which will be enough to hold the whole data. The private key will be saved in PVK (Microsoft secret) format.