Closed Bug 484425 Opened 15 years ago Closed 15 years ago

Need accessor function to retrieve SymKey handle

Categories

(NSS :: Libraries, defect)

3.12.2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
3.12.3

People

(Reporter: rrelyea, Assigned: rrelyea)

Details

Attachments

(1 file)

NSS supports some PKCS #11 derive functions which require the PKCS #11 key handle to be passed in the parameters block of the derive function. Unfortunately there is currently not supported way of getting the PKCS #11 handle from a SymKey.

We need an accessor function to return that handle.

bob
pretty basic patch.
Attachment #368547 - Flags: review?(nelson)
Comment on attachment 368547 [details] [diff] [review]
new function to get the PKCS #11 key handle.

r=nelson
I have one question:
Is this really needed??
Is the PK11SymKey structure opaque?  
If not then ...
Attachment #368547 - Flags: review?(nelson) → review+
Yes, it's opaque, it's one of the few major ones we got right.

thanks,

bob.
Checking in nss/nss.def;
/cvsroot/mozilla/security/nss/lib/nss/nss.def,v  <--  nss.def
new revision: 1.196; previous revision: 1.195
done
Checking in pk11wrap/pk11pub.h;
/cvsroot/mozilla/security/nss/lib/pk11wrap/pk11pub.h,v  <--  pk11pub.h
new revision: 1.28; previous revision: 1.27
done
Checking in pk11wrap/pk11skey.c;
/cvsroot/mozilla/security/nss/lib/pk11wrap/pk11skey.c,v  <--  pk11skey.c
new revision: 1.112; previous revision: 1.111
done
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.