nn::crypto::RsaContext::SetKey Member Function

Syntax

nn::Result SetKey(
     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

nn::Result

Description

Sets the key.


CONFIDENTIAL