Closed
Bug 997091
Opened 11 years ago
Closed 6 years ago
Lack of documentation on PK11_UnwrapPrivKey
Categories
(NSS :: Documentation, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: tuenccoder, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131206151626
Steps to reproduce:
Guilde for PK11_UnwrapPrivKey
Actual results:
PK11_UnwrapPrivKey(PK11SlotInfo *slot, PK11SymKey *wrappingKey,
CK_MECHANISM_TYPE wrapType, SECItem *param,
SECItem *wrappedKey, SECItem *label,
SECItem *idValue, PRBool perm, PRBool sensitive,
CK_KEY_TYPE keyType, CK_ATTRIBUTE_TYPE *usage,
int usageCount, void *wincx)
I want to import and export SECKEYPrivateKey and SECKEYPublicKey. In case SECKEYPublicKey i used SECKEY_EncodeDERSubjectPublicKeyInfo, SECKEY_ExtractPublicKey then it fine. But in case SECKEYPrivateKey, some one tell me using: PK11_WrapPrivKey and PK11_UnwrapPrivKey but the function PK11_UnwrapPrivKey not work, please give me some example to use PK11_UnwrapPrivKey, i was find something on tests/pkcs11/netscape/suites/security/pkcs11/pk11test.c, but when i run it work not fine, it always return result is null.
I'm working on library nss-3.16.3.
Updated•11 years ago
|
Group: core-security
Comment 1•6 years ago
|
||
Looks like it won't be fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Summary: PK11_UnwrapPrivKey → Lack of documentation on PK11_UnwrapPrivKey
You need to log in
before you can comment on or make changes to this bug.
Description
•