How should I use PK11_ImportEncryptedPrivateKeyInfo?

I have no clue what to do with "publicValue". Is this somthing I have to compute by somthing else?
Or should I use something like pubkey->u.rsa.modulus or what...


Any way I get -8191 (SEC_ERROR_LIBRARY_FAILURE)

--- decl ---
SECStatus PK11_ImportEncryptedPrivateKeyInfo(PK11SlotInfo *slot,
       SECKEYEncryptedPrivateKeyInfo *epki, SECItem *pwitem,
       SECItem *nickname, SECItem *publicValue, PRBool isPerm,
       PRBool isPrivate, KeyType type,
       unsigned int usage, void *wincx);

Emil Assarsson
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to