2 ;+#
***** BEGIN LICENSE BLOCK
*****
3 ;+# Version
: MPL
1.1/GPL
2.0/LGPL
2.1
5 ;+# The contents of this file are subject to the Mozilla Public License Version
6 ;+#
1.1 (the
"License"); you may not use this file except in compliance with
7 ;+# the License. You may obtain a copy of the License at
8 ;+# http
://www.mozilla.org
/MPL
/
10 ;+# Software distributed under the License is distributed on an
"AS IS" basis
,
11 ;+# WITHOUT WARRANTY
OF ANY KIND
, either express or implied. See the License
12 ;+# for the specific language governing rights and limitations under the
15 ;+# The Original Code is the Netscape security libraries.
17 ;+# The Initial Developer of the Original Code is
18 ;+# Netscape Communications Corporation.
19 ;+# Portions created by the Initial Developer are
Copyright (C
) 2000
20 ;+# the Initial Developer. All Rights Reserved.
24 ;+# Alternatively
, the contents of this file may be used under the terms of
25 ;+# either the GNU General Public License Version
2 or
later (the
"GPL"), or
26 ;+# the GNU Lesser General Public License Version
2.1 or
later (the
"LGPL"),
27 ;+# in which case the provisions of the GPL or the LGPL are applicable instead
28 ;+# of those above. If you wish to allow use of your version of this file only
29 ;+# under the terms of either the GPL or the LGPL
, and not to allow others to
30 ;+# use your version of this file under the terms of the MPL
, indicate your
31 ;+# decision by deleting the provisions above and replace them with the notice
32 ;+# and other provisions required by the GPL or the LGPL. If you do not delete
33 ;+# the provisions above
, a recipient may use your version of this file under
34 ;+# the terms of any one of the MPL
, the GPL or the LGPL.
36 ;+#
***** END LICENSE BLOCK
*****
38 ;+# OK
, this file is meant to support SUN
, LINUX
, AIX and WINDOWS
39 ;+#
1. For all unix platforms
, the string
";-" means
"remove this line"
40 ;+#
2. For all unix platforms
, the string
" DATA " will be removed from any
41 ;+# line on which it occurs.
42 ;+#
3. Lines containing
";+" will have
";+" removed on SUN and LINUX.
43 ;+# On AIX
, lines containing
";+" will be removed.
44 ;+#
4. For all unix platforms
, the string
";;" will thave the
";;" removed.
45 ;+#
5. For all unix platforms
, after the above processing has taken place
,
46 ;+# all characters after the first
";" on the line will be removed.
47 ;+# And for AIX
, the first
";" will also be removed.
48 ;+# This file is passed directly to windows. Since
';' is a comment
, all UNIX
49 ;+# directives are hidden behind
";", ";+", and
";-"
51 ;+NSS_3.2
{ # NSS
3.2 release
55 NSS_CMSContentInfo_GetBulkKey
;
56 NSS_CMSContentInfo_GetBulkKeySize
;
57 NSS_CMSContentInfo_GetContent
;
58 NSS_CMSContentInfo_GetContentEncAlgTag
;
59 NSS_CMSContentInfo_GetContentTypeTag
;
60 NSS_CMSContentInfo_SetBulkKey
;
61 NSS_CMSContentInfo_SetContent
;
62 NSS_CMSContentInfo_SetContentEncAlg
;
63 NSS_CMSContentInfo_SetContent_Data
;
64 NSS_CMSContentInfo_SetContent_DigestedData
;
65 NSS_CMSContentInfo_SetContent_EncryptedData
;
66 NSS_CMSContentInfo_SetContent_EnvelopedData
;
67 NSS_CMSContentInfo_SetContent_SignedData
;
69 NSS_CMSDecoder_Cancel
;
70 NSS_CMSDecoder_Finish
;
72 NSS_CMSDecoder_Update
;
73 NSS_CMSDigestContext_Cancel
;
74 NSS_CMSDigestContext_FinishMultiple
;
75 NSS_CMSDigestContext_FinishSingle
;
76 NSS_CMSDigestContext_StartMultiple
;
77 NSS_CMSDigestContext_StartSingle
;
78 NSS_CMSDigestContext_Update
;
79 NSS_CMSDigestedData_Create
;
80 NSS_CMSDigestedData_Destroy
;
81 NSS_CMSDigestedData_GetContentInfo
;
82 NSS_CMSEncoder_Cancel
;
83 NSS_CMSEncoder_Finish
;
85 NSS_CMSEncoder_Update
;
86 NSS_CMSEncryptedData_Create
;
87 NSS_CMSEncryptedData_Destroy
;
88 NSS_CMSEncryptedData_GetContentInfo
;
89 NSS_CMSEnvelopedData_AddRecipient
;
90 NSS_CMSEnvelopedData_Create
;
91 NSS_CMSEnvelopedData_Destroy
;
92 NSS_CMSEnvelopedData_GetContentInfo
;
93 NSS_CMSMessage_ContentLevel
;
94 NSS_CMSMessage_ContentLevelCount
;
96 NSS_CMSMessage_Create
;
97 NSS_CMSMessage_CreateFromDER
;
98 NSS_CMSMessage_Destroy
;
99 NSS_CMSMessage_GetContent
;
100 NSS_CMSMessage_GetContentInfo
;
101 NSS_CMSRecipientInfo_Create
;
102 NSS_CMSRecipientInfo_Destroy
;
103 NSS_CMSSignedData_AddCertChain
;
104 NSS_CMSSignedData_AddCertList
;
105 NSS_CMSSignedData_AddCertificate
;
106 NSS_CMSSignedData_AddDigest
;
107 NSS_CMSSignedData_AddSignerInfo
;
108 NSS_CMSSignedData_Create
;
109 NSS_CMSSignedData_CreateCertsOnly
;
110 NSS_CMSSignedData_Destroy
;
111 NSS_CMSSignedData_GetContentInfo
;
112 NSS_CMSSignedData_GetDigestAlgs
;
113 NSS_CMSSignedData_GetSignerInfo
;
114 NSS_CMSSignedData_HasDigests
;
115 NSS_CMSSignedData_ImportCerts
;
116 NSS_CMSSignedData_SetDigests
;
117 NSS_CMSSignedData_SignerInfoCount
;
118 NSS_CMSSignedData_VerifyCertsOnly
;
119 NSS_CMSSignedData_VerifySignerInfo
;
120 NSS_CMSSignerInfo_AddSMIMECaps
;
121 NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs
;
122 NSS_CMSSignerInfo_AddSigningTime
;
123 NSS_CMSSignerInfo_Create
;
124 NSS_CMSSignerInfo_Destroy
;
125 NSS_CMSSignerInfo_GetCertList
;
126 NSS_CMSSignerInfo_GetSignerCommonName
;
127 NSS_CMSSignerInfo_GetSignerEmailAddress
;
128 NSS_CMSSignerInfo_GetSigningCertificate
;
129 NSS_CMSSignerInfo_GetSigningTime
;
130 NSS_CMSSignerInfo_GetVerificationStatus
;
131 NSS_CMSSignerInfo_GetVersion
;
132 NSS_CMSSignerInfo_IncludeCerts
;
133 NSS_CMSUtil_VerificationStatusToString
;
134 NSS_SMIMEUtil_FindBulkAlgForRecipients
;
135 CERT_DecodeCertPackage
;
136 SEC_PKCS7AddRecipient
;
137 SEC_PKCS7AddSigningTime
;
138 SEC_PKCS7ContentType
;
140 SEC_PKCS7CreateEncryptedData
;
141 SEC_PKCS7CreateEnvelopedData
;
142 SEC_PKCS7CreateSignedData
;
144 SEC_PKCS7DecoderFinish
;
145 SEC_PKCS7DecoderStart
;
146 SEC_PKCS7DecoderUpdate
;
147 SEC_PKCS7DecryptContents
;
148 SEC_PKCS7DestroyContentInfo
;
149 SEC_PKCS7EncoderFinish
;
150 SEC_PKCS7EncoderStart
;
151 SEC_PKCS7EncoderUpdate
;
152 SEC_PKCS7GetCertificateList
;
154 SEC_PKCS7GetEncryptionAlgorithm
;
155 SEC_PKCS7IncludeCertChain
;
156 SEC_PKCS7IsContentEmpty
;
157 SEC_PKCS7VerifySignature
;
158 SEC_PKCS12AddCertAndKey
;
159 SEC_PKCS12AddPasswordIntegrity
;
160 SEC_PKCS12CreateExportContext
;
161 SEC_PKCS12CreatePasswordPrivSafe
;
162 SEC_PKCS12CreateUnencryptedSafe
;
163 SEC_PKCS12EnableCipher
;
165 SEC_PKCS12DecoderImportBags
;
166 SEC_PKCS12DecoderFinish
;
167 SEC_PKCS12DecoderStart
;
168 SEC_PKCS12DecoderUpdate
;
169 SEC_PKCS12DecoderValidateBags
;
170 SEC_PKCS12DecoderVerify
;
171 SEC_PKCS12DestroyExportContext
;
172 SEC_PKCS12IsEncryptionAllowed
;
173 SEC_PKCS12SetPreferredCipher
;
177 ;+NSS_3.2
.1 { # NSS
3.2.1 release
179 NSSSMIME_VersionCheck
;
183 ;+NSS_3.3
{ # NSS
3.3 release
185 SEC_PKCS7AddCertificate
;
186 SEC_PKCS7CreateCertsOnly
;
191 ;+NSS_3.4
{ # NSS
3.4 release
193 CERT_DecodeCertFromPackage
;
194 NSS_CMSMessage_IsSigned
;
195 NSS_CMSSignedData_SetDigestValue
;
196 NSS_SMIMESignerInfo_SaveSMIMEProfile
;
197 SEC_PKCS12DecoderGetCerts
;
198 SEC_PKCS7ContainsCertsOrCrls
;
199 SEC_PKCS7ContentIsEncrypted
;
200 SEC_PKCS7ContentIsSigned
;
201 SEC_PKCS7CopyContentInfo
;
202 SEC_PKCS7GetSignerCommonName
;
203 SEC_PKCS7GetSignerEmailAddress
;
204 SEC_PKCS7GetSigningTime
;
206 SEC_PKCS7VerifyDetachedSignature
;
207 SECMIME_DecryptionAllowed
;
211 ;+NSS_3.4
.1 { # NSS
3.4.1 release
213 NSS_CMSMessage_IsEncrypted
;
217 ;+NSS_3.6
{ # NSS
3.6 release
219 NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs
;
220 NSS_CMSSignerInfo_CreateWithSubjKeyID
;
224 ;+NSS_3.7
{ # NSS
3.7 release
226 NSS_CMSRecipientInfo_CreateWithSubjKeyID
;
227 NSS_CMSRecipientInfo_CreateWithSubjKeyIDFromCert
;
231 ;+NSS_3.7
.2 { # NSS
3.7.2 release
233 NSS_CMSRecipientInfo_WrapBulkKey
;
234 NSS_CMSRecipientInfo_UnwrapBulkKey
;
238 ;+NSS_3.8
{ # NSS
3.8 release
240 NSS_CMSRecipientInfo_CreateNew
;
241 NSS_CMSRecipientInfo_CreateFromDER
;
242 NSS_CMSRecipientInfo_Encode
;
243 NSS_CMSRecipientInfo_GetCertAndKey
;
244 SEC_PKCS12DecoderSetTargetTokenCAs
;
248 ;+NSS_3.9
{ # NSS
3.9 release
250 SEC_PKCS7DecoderAbort
;
251 SEC_PKCS7EncoderAbort
;
255 ;+NSS_3.9
.3 { # NSS
3.9.3 release
257 CERT_ConvertAndDecodeCertificate
;
262 ;+NSS_3.10
{ # NSS
3.10 release
264 SEC_PKCS12DecoderIterateInit
;
265 SEC_PKCS12DecoderIterateNext
;