Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICryptoKeyInit::loadRawPublicRSAKey2 ( const P6UCHAR pE,
P6UINT32  eLength,
const P6UCHAR pN,
P6UINT32  nLength 
)
pure virtual

This method loads the standard parts of a RSA public key from a set of buffers, juust like loadRawPublicRSAKey().

However, unlike loadRawPublicRSAKey() it does NOT assosiate a GUID with the key (which is part of the key's metadata). As a result the component will not require being initialized with a p6IRandom component. However, this means that the key component cannot be passed into other components that expect the GUID value in the metadata (eg. keystore, kmip and ssl networking, etc.).

Parameters
pE[ in ] The public exponent.
eLength[ in ] Contains the size in bytes of pE.
pN[ in ] The public modulus.
nLength[ in ] Contains the size in bytes of pN.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedObject is in an incorrect state.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eInvalidStatepRandom not set during call to initialize().
P6R::eFailAndExceptionOne of the parameters failed to load properly.