Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | ;+# |
michael@0 | 2 | ;+# This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | ;+# License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | ;+# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 5 | ;+# |
michael@0 | 6 | ;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS |
michael@0 | 7 | ;+# 1. For all unix platforms, the string ";-" means "remove this line" |
michael@0 | 8 | ;+# 2. For all unix platforms, the string " DATA " will be removed from any |
michael@0 | 9 | ;+# line on which it occurs. |
michael@0 | 10 | ;+# 3. Lines containing ";+" will have ";+" removed on SUN and LINUX. |
michael@0 | 11 | ;+# On AIX, lines containing ";+" will be removed. |
michael@0 | 12 | ;+# 4. For all unix platforms, the string ";;" will thave the ";;" removed. |
michael@0 | 13 | ;+# 5. For all unix platforms, after the above processing has taken place, |
michael@0 | 14 | ;+# all characters after the first ";" on the line will be removed. |
michael@0 | 15 | ;+# And for AIX, the first ";" will also be removed. |
michael@0 | 16 | ;+# This file is passed directly to windows. Since ';' is a comment, all UNIX |
michael@0 | 17 | ;+# directives are hidden behind ";", ";+", and ";-" |
michael@0 | 18 | ;+ |
michael@0 | 19 | ;+NSS_3.2 { # NSS 3.2 release |
michael@0 | 20 | ;+ global: |
michael@0 | 21 | LIBRARY smime3 ;- |
michael@0 | 22 | EXPORTS ;- |
michael@0 | 23 | NSS_CMSContentInfo_GetBulkKey; |
michael@0 | 24 | NSS_CMSContentInfo_GetBulkKeySize; |
michael@0 | 25 | NSS_CMSContentInfo_GetContent; |
michael@0 | 26 | NSS_CMSContentInfo_GetContentEncAlgTag; |
michael@0 | 27 | NSS_CMSContentInfo_GetContentTypeTag; |
michael@0 | 28 | NSS_CMSContentInfo_SetBulkKey; |
michael@0 | 29 | NSS_CMSContentInfo_SetContent; |
michael@0 | 30 | NSS_CMSContentInfo_SetContentEncAlg; |
michael@0 | 31 | NSS_CMSContentInfo_SetContent_Data; |
michael@0 | 32 | NSS_CMSContentInfo_SetContent_DigestedData; |
michael@0 | 33 | NSS_CMSContentInfo_SetContent_EncryptedData; |
michael@0 | 34 | NSS_CMSContentInfo_SetContent_EnvelopedData; |
michael@0 | 35 | NSS_CMSContentInfo_SetContent_SignedData; |
michael@0 | 36 | NSS_CMSDEREncode; |
michael@0 | 37 | NSS_CMSDecoder_Cancel; |
michael@0 | 38 | NSS_CMSDecoder_Finish; |
michael@0 | 39 | NSS_CMSDecoder_Start; |
michael@0 | 40 | NSS_CMSDecoder_Update; |
michael@0 | 41 | NSS_CMSDigestContext_Cancel; |
michael@0 | 42 | NSS_CMSDigestContext_FinishMultiple; |
michael@0 | 43 | NSS_CMSDigestContext_FinishSingle; |
michael@0 | 44 | NSS_CMSDigestContext_StartMultiple; |
michael@0 | 45 | NSS_CMSDigestContext_StartSingle; |
michael@0 | 46 | NSS_CMSDigestContext_Update; |
michael@0 | 47 | NSS_CMSDigestedData_Create; |
michael@0 | 48 | NSS_CMSDigestedData_Destroy; |
michael@0 | 49 | NSS_CMSDigestedData_GetContentInfo; |
michael@0 | 50 | NSS_CMSEncoder_Cancel; |
michael@0 | 51 | NSS_CMSEncoder_Finish; |
michael@0 | 52 | NSS_CMSEncoder_Start; |
michael@0 | 53 | NSS_CMSEncoder_Update; |
michael@0 | 54 | NSS_CMSEncryptedData_Create; |
michael@0 | 55 | NSS_CMSEncryptedData_Destroy; |
michael@0 | 56 | NSS_CMSEncryptedData_GetContentInfo; |
michael@0 | 57 | NSS_CMSEnvelopedData_AddRecipient; |
michael@0 | 58 | NSS_CMSEnvelopedData_Create; |
michael@0 | 59 | NSS_CMSEnvelopedData_Destroy; |
michael@0 | 60 | NSS_CMSEnvelopedData_GetContentInfo; |
michael@0 | 61 | NSS_CMSMessage_ContentLevel; |
michael@0 | 62 | NSS_CMSMessage_ContentLevelCount; |
michael@0 | 63 | NSS_CMSMessage_Copy; |
michael@0 | 64 | NSS_CMSMessage_Create; |
michael@0 | 65 | NSS_CMSMessage_CreateFromDER; |
michael@0 | 66 | NSS_CMSMessage_Destroy; |
michael@0 | 67 | NSS_CMSMessage_GetContent; |
michael@0 | 68 | NSS_CMSMessage_GetContentInfo; |
michael@0 | 69 | NSS_CMSRecipientInfo_Create; |
michael@0 | 70 | NSS_CMSRecipientInfo_Destroy; |
michael@0 | 71 | NSS_CMSSignedData_AddCertChain; |
michael@0 | 72 | NSS_CMSSignedData_AddCertList; |
michael@0 | 73 | NSS_CMSSignedData_AddCertificate; |
michael@0 | 74 | NSS_CMSSignedData_AddDigest; |
michael@0 | 75 | NSS_CMSSignedData_AddSignerInfo; |
michael@0 | 76 | NSS_CMSSignedData_Create; |
michael@0 | 77 | NSS_CMSSignedData_CreateCertsOnly; |
michael@0 | 78 | NSS_CMSSignedData_Destroy; |
michael@0 | 79 | NSS_CMSSignedData_GetContentInfo; |
michael@0 | 80 | NSS_CMSSignedData_GetDigestAlgs; |
michael@0 | 81 | NSS_CMSSignedData_GetSignerInfo; |
michael@0 | 82 | NSS_CMSSignedData_HasDigests; |
michael@0 | 83 | NSS_CMSSignedData_ImportCerts; |
michael@0 | 84 | NSS_CMSSignedData_SetDigests; |
michael@0 | 85 | NSS_CMSSignedData_SignerInfoCount; |
michael@0 | 86 | NSS_CMSSignedData_VerifyCertsOnly; |
michael@0 | 87 | NSS_CMSSignedData_VerifySignerInfo; |
michael@0 | 88 | NSS_CMSSignerInfo_AddSMIMECaps; |
michael@0 | 89 | NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs; |
michael@0 | 90 | NSS_CMSSignerInfo_AddSigningTime; |
michael@0 | 91 | NSS_CMSSignerInfo_Create; |
michael@0 | 92 | NSS_CMSSignerInfo_Destroy; |
michael@0 | 93 | NSS_CMSSignerInfo_GetCertList; |
michael@0 | 94 | NSS_CMSSignerInfo_GetSignerCommonName; |
michael@0 | 95 | NSS_CMSSignerInfo_GetSignerEmailAddress; |
michael@0 | 96 | NSS_CMSSignerInfo_GetSigningCertificate; |
michael@0 | 97 | NSS_CMSSignerInfo_GetSigningTime; |
michael@0 | 98 | NSS_CMSSignerInfo_GetVerificationStatus; |
michael@0 | 99 | NSS_CMSSignerInfo_GetVersion; |
michael@0 | 100 | NSS_CMSSignerInfo_IncludeCerts; |
michael@0 | 101 | NSS_CMSUtil_VerificationStatusToString; |
michael@0 | 102 | NSS_SMIMEUtil_FindBulkAlgForRecipients; |
michael@0 | 103 | CERT_DecodeCertPackage; |
michael@0 | 104 | SEC_PKCS7AddRecipient; |
michael@0 | 105 | SEC_PKCS7AddSigningTime; |
michael@0 | 106 | SEC_PKCS7ContentType; |
michael@0 | 107 | SEC_PKCS7CreateData; |
michael@0 | 108 | SEC_PKCS7CreateEncryptedData; |
michael@0 | 109 | SEC_PKCS7CreateEnvelopedData; |
michael@0 | 110 | SEC_PKCS7CreateSignedData; |
michael@0 | 111 | SEC_PKCS7DecodeItem; |
michael@0 | 112 | SEC_PKCS7DecoderFinish; |
michael@0 | 113 | SEC_PKCS7DecoderStart; |
michael@0 | 114 | SEC_PKCS7DecoderUpdate; |
michael@0 | 115 | SEC_PKCS7DecryptContents; |
michael@0 | 116 | SEC_PKCS7DestroyContentInfo; |
michael@0 | 117 | SEC_PKCS7EncoderFinish; |
michael@0 | 118 | SEC_PKCS7EncoderStart; |
michael@0 | 119 | SEC_PKCS7EncoderUpdate; |
michael@0 | 120 | SEC_PKCS7GetCertificateList; |
michael@0 | 121 | SEC_PKCS7GetContent; |
michael@0 | 122 | SEC_PKCS7GetEncryptionAlgorithm; |
michael@0 | 123 | SEC_PKCS7IncludeCertChain; |
michael@0 | 124 | SEC_PKCS7IsContentEmpty; |
michael@0 | 125 | SEC_PKCS7VerifySignature; |
michael@0 | 126 | SEC_PKCS12AddCertAndKey; |
michael@0 | 127 | SEC_PKCS12AddPasswordIntegrity; |
michael@0 | 128 | SEC_PKCS12CreateExportContext; |
michael@0 | 129 | SEC_PKCS12CreatePasswordPrivSafe; |
michael@0 | 130 | SEC_PKCS12CreateUnencryptedSafe; |
michael@0 | 131 | SEC_PKCS12EnableCipher; |
michael@0 | 132 | SEC_PKCS12Encode; |
michael@0 | 133 | SEC_PKCS12DecoderImportBags; |
michael@0 | 134 | SEC_PKCS12DecoderFinish; |
michael@0 | 135 | SEC_PKCS12DecoderStart; |
michael@0 | 136 | SEC_PKCS12DecoderUpdate; |
michael@0 | 137 | SEC_PKCS12DecoderValidateBags; |
michael@0 | 138 | SEC_PKCS12DecoderVerify; |
michael@0 | 139 | SEC_PKCS12DestroyExportContext; |
michael@0 | 140 | SEC_PKCS12IsEncryptionAllowed; |
michael@0 | 141 | SEC_PKCS12SetPreferredCipher; |
michael@0 | 142 | ;+ local: |
michael@0 | 143 | ;+ *; |
michael@0 | 144 | ;+}; |
michael@0 | 145 | ;+NSS_3.2.1 { # NSS 3.2.1 release |
michael@0 | 146 | ;+ global: |
michael@0 | 147 | NSSSMIME_VersionCheck; |
michael@0 | 148 | ;+ local: |
michael@0 | 149 | ;+ *; |
michael@0 | 150 | ;+}; |
michael@0 | 151 | ;+NSS_3.3 { # NSS 3.3 release |
michael@0 | 152 | ;+ global: |
michael@0 | 153 | SEC_PKCS7AddCertificate; |
michael@0 | 154 | SEC_PKCS7CreateCertsOnly; |
michael@0 | 155 | SEC_PKCS7Encode; |
michael@0 | 156 | ;+ local: |
michael@0 | 157 | ;+ *; |
michael@0 | 158 | ;+}; |
michael@0 | 159 | ;+NSS_3.4 { # NSS 3.4 release |
michael@0 | 160 | ;+ global: |
michael@0 | 161 | CERT_DecodeCertFromPackage; |
michael@0 | 162 | NSS_CMSMessage_IsSigned; |
michael@0 | 163 | NSS_CMSSignedData_SetDigestValue; |
michael@0 | 164 | NSS_SMIMESignerInfo_SaveSMIMEProfile; |
michael@0 | 165 | SEC_PKCS12DecoderGetCerts; |
michael@0 | 166 | SEC_PKCS7ContainsCertsOrCrls; |
michael@0 | 167 | SEC_PKCS7ContentIsEncrypted; |
michael@0 | 168 | SEC_PKCS7ContentIsSigned; |
michael@0 | 169 | SEC_PKCS7CopyContentInfo; |
michael@0 | 170 | SEC_PKCS7GetSignerCommonName; |
michael@0 | 171 | SEC_PKCS7GetSignerEmailAddress; |
michael@0 | 172 | SEC_PKCS7GetSigningTime; |
michael@0 | 173 | SEC_PKCS7SetContent; |
michael@0 | 174 | SEC_PKCS7VerifyDetachedSignature; |
michael@0 | 175 | SECMIME_DecryptionAllowed; |
michael@0 | 176 | ;+ local: |
michael@0 | 177 | ;+ *; |
michael@0 | 178 | ;+}; |
michael@0 | 179 | ;+NSS_3.4.1 { # NSS 3.4.1 release |
michael@0 | 180 | ;+ global: |
michael@0 | 181 | NSS_CMSMessage_IsEncrypted; |
michael@0 | 182 | ;+ local: |
michael@0 | 183 | ;+ *; |
michael@0 | 184 | ;+}; |
michael@0 | 185 | ;+NSS_3.6 { # NSS 3.6 release |
michael@0 | 186 | ;+ global: |
michael@0 | 187 | NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs; |
michael@0 | 188 | NSS_CMSSignerInfo_CreateWithSubjKeyID; |
michael@0 | 189 | ;+ local: |
michael@0 | 190 | ;+ *; |
michael@0 | 191 | ;+}; |
michael@0 | 192 | ;+NSS_3.7 { # NSS 3.7 release |
michael@0 | 193 | ;+ global: |
michael@0 | 194 | NSS_CMSRecipientInfo_CreateWithSubjKeyID; |
michael@0 | 195 | NSS_CMSRecipientInfo_CreateWithSubjKeyIDFromCert; |
michael@0 | 196 | ;+ local: |
michael@0 | 197 | ;+ *; |
michael@0 | 198 | ;+}; |
michael@0 | 199 | ;+NSS_3.7.2 { # NSS 3.7.2 release |
michael@0 | 200 | ;+ global: |
michael@0 | 201 | NSS_CMSRecipientInfo_WrapBulkKey; |
michael@0 | 202 | NSS_CMSRecipientInfo_UnwrapBulkKey; |
michael@0 | 203 | ;+ local: |
michael@0 | 204 | ;+ *; |
michael@0 | 205 | ;+}; |
michael@0 | 206 | ;+NSS_3.8 { # NSS 3.8 release |
michael@0 | 207 | ;+ global: |
michael@0 | 208 | NSS_CMSRecipientInfo_CreateNew; |
michael@0 | 209 | NSS_CMSRecipientInfo_CreateFromDER; |
michael@0 | 210 | NSS_CMSRecipientInfo_Encode; |
michael@0 | 211 | NSS_CMSRecipientInfo_GetCertAndKey; |
michael@0 | 212 | SEC_PKCS12DecoderSetTargetTokenCAs; |
michael@0 | 213 | ;+ local: |
michael@0 | 214 | ;+ *; |
michael@0 | 215 | ;+}; |
michael@0 | 216 | ;+NSS_3.9 { # NSS 3.9 release |
michael@0 | 217 | ;+ global: |
michael@0 | 218 | SEC_PKCS7DecoderAbort; |
michael@0 | 219 | SEC_PKCS7EncoderAbort; |
michael@0 | 220 | ;+ local: |
michael@0 | 221 | ;+ *; |
michael@0 | 222 | ;+}; |
michael@0 | 223 | ;+NSS_3.9.3 { # NSS 3.9.3 release |
michael@0 | 224 | ;+ global: |
michael@0 | 225 | CERT_ConvertAndDecodeCertificate; |
michael@0 | 226 | SEC_PKCS7EncodeItem; |
michael@0 | 227 | ;+ local: |
michael@0 | 228 | ;+ *; |
michael@0 | 229 | ;+}; |
michael@0 | 230 | ;+NSS_3.10 { # NSS 3.10 release |
michael@0 | 231 | ;+ global: |
michael@0 | 232 | SEC_PKCS12DecoderIterateInit; |
michael@0 | 233 | SEC_PKCS12DecoderIterateNext; |
michael@0 | 234 | SEC_PKCS12DecryptionAllowed; |
michael@0 | 235 | ;+ local: |
michael@0 | 236 | ;+ *; |
michael@0 | 237 | ;+}; |
michael@0 | 238 | ;+NSS_3.12.2 { # NSS 3.12.2 release |
michael@0 | 239 | ;+ global: |
michael@0 | 240 | SEC_PKCS12AddCertOrChainAndKey; |
michael@0 | 241 | ;+ local: |
michael@0 | 242 | ;+ *; |
michael@0 | 243 | ;+}; |
michael@0 | 244 | ;+NSS_3.12.10 { # NSS 3.12.10 release |
michael@0 | 245 | ;+ global: |
michael@0 | 246 | NSS_CMSType_RegisterContentType; |
michael@0 | 247 | NSS_CMSContentInfo_SetDontStream; |
michael@0 | 248 | NSS_SMIMEUtil_CreateMSSMIMEEncKeyPrefs; |
michael@0 | 249 | ;+# |
michael@0 | 250 | ;+# Data objects |
michael@0 | 251 | ;+# |
michael@0 | 252 | ;+# Don't export these DATA symbols on Windows because they don't work right. |
michael@0 | 253 | ;+# Use the SEC_ASN1_GET / SEC_ASN1_SUB / SEC_ASN1_XTRN macros to access them. |
michael@0 | 254 | ;+# |
michael@0 | 255 | ;+# See nssutil for other examples. |
michael@0 | 256 | ;+# |
michael@0 | 257 | ;;NSSCMSGenericWrapperDataTemplate DATA ; |
michael@0 | 258 | ;;NSS_PointerToCMSGenericWrapperDataTemplate DATA ; |
michael@0 | 259 | NSS_Get_NSSCMSGenericWrapperDataTemplate; |
michael@0 | 260 | NSS_Get_NSS_PointerToCMSGenericWrapperDataTemplate; |
michael@0 | 261 | ;+ local: |
michael@0 | 262 | ;+ *; |
michael@0 | 263 | ;+}; |
michael@0 | 264 | ;+NSS_3.13 { # NSS 3.13 release |
michael@0 | 265 | ;+ global: |
michael@0 | 266 | NSSSMIME_GetVersion; |
michael@0 | 267 | ;+ local: |
michael@0 | 268 | ;+ *; |
michael@0 | 269 | ;+}; |
michael@0 | 270 | ;+NSS_3.15 { # NSS 3.15 release |
michael@0 | 271 | ;+ global: |
michael@0 | 272 | SEC_PKCS7VerifyDetachedSignatureAtTime; |
michael@0 | 273 | ;+ local: |
michael@0 | 274 | ;+ *; |
michael@0 | 275 | ;+}; |
michael@0 | 276 | ;+NSS_3.16 { # NSS 3.16 release |
michael@0 | 277 | ;+ global: |
michael@0 | 278 | NSS_CMSSignerInfo_Verify; |
michael@0 | 279 | ;+ local: |
michael@0 | 280 | ;+ *; |
michael@0 | 281 | ;+}; |