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