InitializePrivateKey

nn::crypto::RsaKey::InitializePrivateKey Member Function

Syntax

nn::Result InitializePrivateKey(
     const void * pKey,
     s32 keyLength
);

Parameters

Name Description
in pKey Pointer to RSA key data in DER format. (Can be used with private keys only.)
in keyLength Key length (in bits). The size must have 8-bit alignment or an error results.

Return Values

nn::Result

Description

Initializes RSA keys as private keys.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL