InitializePublicKey

nn::crypto::RsaKey::InitializePublicKey Member Function

Syntax

nn::Result InitializePublicKey(
     const void * pKey,
     s32 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 (in bits). The size must have 8-bit alignment or an error results.

Return Values

nn::Result

Description

Initializes RSA keys as public keys.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL