Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDHKeyExchange::loadPublicKey ( P6UCHAR pBuffer,
P6UINT32  cBuffer 
)
pure virtual

This method loads the binary data for a Diffie-Hellman (DH) public key.

Parameters
pBuffer[ in ] A pointer to a buffer that holds the key's bytes
cBuffer[ in ] Number of entries in the buffer pointed to by pBuffer.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedObject is in an incorrect state.
P6R::eInvalidArgpBuffer is NULL or cBuffer is zero.