| OLD | NEW |
| 1 /* ***** BEGIN LICENSE BLOCK ***** | 1 /* ***** BEGIN LICENSE BLOCK ***** |
| 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 * | 3 * |
| 4 * The contents of this file are subject to the Mozilla Public License Version | 4 * The contents of this file are subject to the Mozilla Public License Version |
| 5 * 1.1 (the "License"); you may not use this file except in compliance with | 5 * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 * the License. You may obtain a copy of the License at | 6 * the License. You may obtain a copy of the License at |
| 7 * http://www.mozilla.org/MPL/ | 7 * http://www.mozilla.org/MPL/ |
| 8 * | 8 * |
| 9 * Software distributed under the License is distributed on an "AS IS" basis, | 9 * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 * decision by deleting the provisions above and replace them with the notice | 30 * decision by deleting the provisions above and replace them with the notice |
| 31 * and other provisions required by the GPL or the LGPL. If you do not delete | 31 * and other provisions required by the GPL or the LGPL. If you do not delete |
| 32 * the provisions above, a recipient may use your version of this file under | 32 * the provisions above, a recipient may use your version of this file under |
| 33 * the terms of any one of the MPL, the GPL or the LGPL. | 33 * the terms of any one of the MPL, the GPL or the LGPL. |
| 34 * | 34 * |
| 35 * ***** END LICENSE BLOCK ***** */ | 35 * ***** END LICENSE BLOCK ***** */ |
| 36 | 36 |
| 37 /* | 37 /* |
| 38 * Interfaces of the CMS implementation. | 38 * Interfaces of the CMS implementation. |
| 39 * | 39 * |
| 40 * $Id: cms.h,v 1.22 2008/06/14 14:20:31 wtc%google.com Exp $ | 40 * $Id: cms.h,v 1.23 2010/04/25 23:37:38 nelson%bolyard.com Exp $ |
| 41 */ | 41 */ |
| 42 | 42 |
| 43 #ifndef _CMS_H_ | 43 #ifndef _CMS_H_ |
| 44 #define _CMS_H_ | 44 #define _CMS_H_ |
| 45 | 45 |
| 46 #include "seccomon.h" | 46 #include "seccomon.h" |
| 47 | 47 |
| 48 #include "secoidt.h" | 48 #include "secoidt.h" |
| 49 #include "certt.h" | 49 #include "certt.h" |
| 50 #include "keyt.h" | 50 #include "keyt.h" |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 * NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs - add a SMIMEEncryptionKeyPreferences a
ttribute to the | 727 * NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs - add a SMIMEEncryptionKeyPreferences a
ttribute to the |
| 728 * authenticated (i.e. signed) attributes of "signerinfo". | 728 * authenticated (i.e. signed) attributes of "signerinfo". |
| 729 * | 729 * |
| 730 * This is expected to be included in outgoing signed messages for email (S/MIME
). | 730 * This is expected to be included in outgoing signed messages for email (S/MIME
). |
| 731 */ | 731 */ |
| 732 SECStatus | 732 SECStatus |
| 733 NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs(NSSCMSSignerInfo *signerinfo, CERTCertific
ate *cert, CERTCertDBHandle *certdb); | 733 NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs(NSSCMSSignerInfo *signerinfo, CERTCertific
ate *cert, CERTCertDBHandle *certdb); |
| 734 | 734 |
| 735 /* | 735 /* |
| 736 * NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs - add a SMIMEEncryptionKeyPreferences
attribute to the | 736 * NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs - add a SMIMEEncryptionKeyPreferences
attribute to the |
| 737 * authenticated (i.e. signed) attributes of "signerinfo", using the OID prefere
d by Microsoft. | 737 * authenticated (i.e. signed) attributes of "signerinfo", using the OID preferr
ed by Microsoft. |
| 738 * | 738 * |
| 739 * This is expected to be included in outgoing signed messages for email (S/MIME
), | 739 * This is expected to be included in outgoing signed messages for email (S/MIME
), |
| 740 * if compatibility with Microsoft mail clients is wanted. | 740 * if compatibility with Microsoft mail clients is wanted. |
| 741 */ | 741 */ |
| 742 SECStatus | 742 SECStatus |
| 743 NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs(NSSCMSSignerInfo *signerinfo, CERTCertif
icate *cert, CERTCertDBHandle *certdb); | 743 NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs(NSSCMSSignerInfo *signerinfo, CERTCertif
icate *cert, CERTCertDBHandle *certdb); |
| 744 | 744 |
| 745 /* | 745 /* |
| 746 * NSS_CMSSignerInfo_AddCounterSignature - countersign a signerinfo | 746 * NSS_CMSSignerInfo_AddCounterSignature - countersign a signerinfo |
| 747 */ | 747 */ |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 */ | 1125 */ |
| 1126 extern SECStatus | 1126 extern SECStatus |
| 1127 NSS_CMSDEREncode(NSSCMSMessage *cmsg, SECItem *input, SECItem *derOut, | 1127 NSS_CMSDEREncode(NSSCMSMessage *cmsg, SECItem *input, SECItem *derOut, |
| 1128 PLArenaPool *arena); | 1128 PLArenaPool *arena); |
| 1129 | 1129 |
| 1130 | 1130 |
| 1131 /************************************************************************/ | 1131 /************************************************************************/ |
| 1132 SEC_END_PROTOS | 1132 SEC_END_PROTOS |
| 1133 | 1133 |
| 1134 #endif /* _CMS_H_ */ | 1134 #endif /* _CMS_H_ */ |
| OLD | NEW |