Discuss this help topic in SecureBlackbox Forum
TElX509Certificate.LoadKeyFromBufferMS
Loads the certificate's corresponding private key from the memory buffer in form PRIVATEKEYBLOB format compatible with CryptoAPI.
Declaration
Parameters
Return value
0 - if the key was successfully loaded.
Otherwise MS error code.
Description
This method attempts to read the certificate's private key from the provided memory location of the given size. The private key must have been saved in PRIVATEKEYBLOB format compatible with CryptoAPI