OLD | NEW |
| (Empty) |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 | |
5 /* | |
6 * $Id: cmsreclist.h,v 1.5 2012/04/25 14:50:09 gerv%gerv.net Exp $ | |
7 */ | |
8 | |
9 #ifndef _CMSRECLIST_H | |
10 #define _CMSRECLIST_H | |
11 | |
12 struct NSSCMSRecipientStr { | |
13 int riIndex; /* this recipient's index in rec
ipientInfo array */ | |
14 int subIndex; /* index into recipientEncrypted
Keys */ | |
15 /* (only in NSSCMSKeyAgreeRecipi
entInfoStr) */ | |
16 enum {RLIssuerSN=0, RLSubjKeyID=1} kind; /* for conversion recipientinfos
-> recipientlist */ | |
17 union { | |
18 CERTIssuerAndSN * issuerAndSN; | |
19 SECItem * subjectKeyID; | |
20 } id; | |
21 | |
22 /* result data (filled out for each recipient that's us) */ | |
23 CERTCertificate * cert; | |
24 SECKEYPrivateKey * privkey; | |
25 PK11SlotInfo * slot; | |
26 }; | |
27 | |
28 typedef struct NSSCMSRecipientStr NSSCMSRecipient; | |
29 | |
30 #endif /* _CMSRECLIST_H */ | |
OLD | NEW |