|
Loads the certificate's private key from the memory buffer. The key must be stored in NET format. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Parameters
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Return value
0 - if the key was successfully loaded. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
PKCS#8 Error Codes
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Description This method attempts to read the certificate's private key from the provided memory location of the given size. The key must have been saved in NET format. NET format was invented by Microsoft Corp. and is based on PKCS#8 private key format. However, it is not fully compatible with PKCS#8, so passing a buffer with raw PKCS#8 data will cause an 'invalid format' error. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||

