nn::ssl::Connection::SetServerCertBuffer Member Function

Syntax

nn::Result SetServerCertBuffer(
     uptr bufferAddress,
     size_t bufferSize
);

Arguments

Name Description
in bufferAddress Pointer to the start of the buffer. The memory for the buffer must be 4096-byte aligned.
in bufferSize Buffer size.

Return Values

Returns the result of the operation.

Description

Configures the buffer used to get the server certificate. Use this after invoking the Initialize function. This function handles everything up to and including the buffer configuration. The server certificate will actually be written to the buffer when the DoHandshake function is called.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL