nn::crypto::RsaContext::Initialize Member Function

Syntax

void Initialize(
     const void * pKey,
     size_t keyLength
);

Parameters

Name Description
in pKey Pointer to RSA key data in DER format. (Can be used with both private and public keys.)
in keyLength Key length (units: bytes)

Return Values

None.

Description

Initializes the RSA context by specifying the RSA key buffer. This function can be called in place of Initialize.

To use this function while using the SSL library, always call nn::ssl::Initialize() first.


CONFIDENTIAL