Hi @MohitGediya ,
Please use Se05x_API_WriteRSAKey() to generate the RSA key, the sample code can be something like below:
status = Se05x_API_WriteRSAKey(pSe05xSession,
(Se05xPolicy_t *)&policy_for_auth_obj,
RSA_ATTESTATION_KEY_ID,
2048,
SE05X_RSA_NO_p,
SE05X_RSA_NO_q,
SE05X_RSA_NO_dp,
SE05X_RSA_NO_dq,
SE05X_RSA_NO_qInv,
SE05X_RSA_NO_pubExp,
SE05X_RSA_NO_priv,
SE05X_RSA_NO_pubMod,
kSE05x_INS_NA,
kSE05x_KeyPart_Pair,
kSE05x_RSAKeyFormat_CRT);
Please assign proper policy to the key pair, especially no disabling the deletion, otherwise the key can not be removed any more.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------