Jean-Daniel,

Jean-Daniel wrote:

In fact, I do not directly use the OpenSSL generator, I'm using the
CDSA keygen API and it return a PKCS1 public key and a PKCS8 private
key.

After that, I can decode the public key using SEC_ASN1DecodeItem with
the SECKEY_RSAPublicKeyTemplate and I can use
PK11_ImportDERPrivateKeyInfoAndReturnKey() to import the private key.
Except if there is know bugs with this function ?

bugzilla would tell you about known bugs in those APIs. You can try it if you want.
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to