| OLD | NEW |
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 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 | 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/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | 4 |
| 5 /* | 5 /* |
| 6 * Header file for routines specific to S/MIME. Keep things that are pure | 6 * Header file for routines specific to S/MIME. Keep things that are pure |
| 7 * pkcs7 out of here; this is for S/MIME policy, S/MIME interoperability, etc. | 7 * pkcs7 out of here; this is for S/MIME policy, S/MIME interoperability, etc. |
| 8 * | 8 * |
| 9 * $Id: smime.h,v 1.13 2012/09/21 21:58:44 wtc%google.com Exp $ | 9 * $Id: smime.h,v 1.13 2012/09/21 21:58:44 wtc%google.com Exp $ |
| 10 */ | 10 */ |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 extern SECStatus | 118 extern SECStatus |
| 119 NSS_SMIMEUtil_FindBulkAlgForRecipients(CERTCertificate **rcerts, SECOidTag *bulk
algtag, int *keysize); | 119 NSS_SMIMEUtil_FindBulkAlgForRecipients(CERTCertificate **rcerts, SECOidTag *bulk
algtag, int *keysize); |
| 120 | 120 |
| 121 /* | 121 /* |
| 122 * Return a boolean that indicates whether the underlying library | 122 * Return a boolean that indicates whether the underlying library |
| 123 * will perform as the caller expects. | 123 * will perform as the caller expects. |
| 124 * | 124 * |
| 125 * The only argument is a string, which should be the version | 125 * The only argument is a string, which should be the version |
| 126 * identifier of the NSS library. That string will be compared | 126 * identifier of the NSS library. That string will be compared |
| 127 * against a string that represents the actual build version of | 127 * against a string that represents the actual build version of |
| 128 * the S/MIME library. It also invokes the version checking functions | 128 * the S/MIME library. |
| 129 * of the dependent libraries such as NSPR. | |
| 130 */ | 129 */ |
| 131 extern PRBool NSSSMIME_VersionCheck(const char *importedVersion); | 130 extern PRBool NSSSMIME_VersionCheck(const char *importedVersion); |
| 132 | 131 |
| 133 /* | 132 /* |
| 134 * Returns a const string of the S/MIME library version. | 133 * Returns a const string of the S/MIME library version. |
| 135 */ | 134 */ |
| 136 extern const char *NSSSMIME_GetVersion(void); | 135 extern const char *NSSSMIME_GetVersion(void); |
| 137 | 136 |
| 138 /************************************************************************/ | 137 /************************************************************************/ |
| 139 SEC_END_PROTOS | 138 SEC_END_PROTOS |
| 140 | 139 |
| 141 #endif /* _SECMIME_H_ */ | 140 #endif /* _SECMIME_H_ */ |
| OLD | NEW |