1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/lib/smime/smime.def Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,281 @@ 1.4 +;+# 1.5 +;+# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +;+# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +;+# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 +;+# 1.9 +;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS 1.10 +;+# 1. For all unix platforms, the string ";-" means "remove this line" 1.11 +;+# 2. For all unix platforms, the string " DATA " will be removed from any 1.12 +;+# line on which it occurs. 1.13 +;+# 3. Lines containing ";+" will have ";+" removed on SUN and LINUX. 1.14 +;+# On AIX, lines containing ";+" will be removed. 1.15 +;+# 4. For all unix platforms, the string ";;" will thave the ";;" removed. 1.16 +;+# 5. For all unix platforms, after the above processing has taken place, 1.17 +;+# all characters after the first ";" on the line will be removed. 1.18 +;+# And for AIX, the first ";" will also be removed. 1.19 +;+# This file is passed directly to windows. Since ';' is a comment, all UNIX 1.20 +;+# directives are hidden behind ";", ";+", and ";-" 1.21 +;+ 1.22 +;+NSS_3.2 { # NSS 3.2 release 1.23 +;+ global: 1.24 +LIBRARY smime3 ;- 1.25 +EXPORTS ;- 1.26 +NSS_CMSContentInfo_GetBulkKey; 1.27 +NSS_CMSContentInfo_GetBulkKeySize; 1.28 +NSS_CMSContentInfo_GetContent; 1.29 +NSS_CMSContentInfo_GetContentEncAlgTag; 1.30 +NSS_CMSContentInfo_GetContentTypeTag; 1.31 +NSS_CMSContentInfo_SetBulkKey; 1.32 +NSS_CMSContentInfo_SetContent; 1.33 +NSS_CMSContentInfo_SetContentEncAlg; 1.34 +NSS_CMSContentInfo_SetContent_Data; 1.35 +NSS_CMSContentInfo_SetContent_DigestedData; 1.36 +NSS_CMSContentInfo_SetContent_EncryptedData; 1.37 +NSS_CMSContentInfo_SetContent_EnvelopedData; 1.38 +NSS_CMSContentInfo_SetContent_SignedData; 1.39 +NSS_CMSDEREncode; 1.40 +NSS_CMSDecoder_Cancel; 1.41 +NSS_CMSDecoder_Finish; 1.42 +NSS_CMSDecoder_Start; 1.43 +NSS_CMSDecoder_Update; 1.44 +NSS_CMSDigestContext_Cancel; 1.45 +NSS_CMSDigestContext_FinishMultiple; 1.46 +NSS_CMSDigestContext_FinishSingle; 1.47 +NSS_CMSDigestContext_StartMultiple; 1.48 +NSS_CMSDigestContext_StartSingle; 1.49 +NSS_CMSDigestContext_Update; 1.50 +NSS_CMSDigestedData_Create; 1.51 +NSS_CMSDigestedData_Destroy; 1.52 +NSS_CMSDigestedData_GetContentInfo; 1.53 +NSS_CMSEncoder_Cancel; 1.54 +NSS_CMSEncoder_Finish; 1.55 +NSS_CMSEncoder_Start; 1.56 +NSS_CMSEncoder_Update; 1.57 +NSS_CMSEncryptedData_Create; 1.58 +NSS_CMSEncryptedData_Destroy; 1.59 +NSS_CMSEncryptedData_GetContentInfo; 1.60 +NSS_CMSEnvelopedData_AddRecipient; 1.61 +NSS_CMSEnvelopedData_Create; 1.62 +NSS_CMSEnvelopedData_Destroy; 1.63 +NSS_CMSEnvelopedData_GetContentInfo; 1.64 +NSS_CMSMessage_ContentLevel; 1.65 +NSS_CMSMessage_ContentLevelCount; 1.66 +NSS_CMSMessage_Copy; 1.67 +NSS_CMSMessage_Create; 1.68 +NSS_CMSMessage_CreateFromDER; 1.69 +NSS_CMSMessage_Destroy; 1.70 +NSS_CMSMessage_GetContent; 1.71 +NSS_CMSMessage_GetContentInfo; 1.72 +NSS_CMSRecipientInfo_Create; 1.73 +NSS_CMSRecipientInfo_Destroy; 1.74 +NSS_CMSSignedData_AddCertChain; 1.75 +NSS_CMSSignedData_AddCertList; 1.76 +NSS_CMSSignedData_AddCertificate; 1.77 +NSS_CMSSignedData_AddDigest; 1.78 +NSS_CMSSignedData_AddSignerInfo; 1.79 +NSS_CMSSignedData_Create; 1.80 +NSS_CMSSignedData_CreateCertsOnly; 1.81 +NSS_CMSSignedData_Destroy; 1.82 +NSS_CMSSignedData_GetContentInfo; 1.83 +NSS_CMSSignedData_GetDigestAlgs; 1.84 +NSS_CMSSignedData_GetSignerInfo; 1.85 +NSS_CMSSignedData_HasDigests; 1.86 +NSS_CMSSignedData_ImportCerts; 1.87 +NSS_CMSSignedData_SetDigests; 1.88 +NSS_CMSSignedData_SignerInfoCount; 1.89 +NSS_CMSSignedData_VerifyCertsOnly; 1.90 +NSS_CMSSignedData_VerifySignerInfo; 1.91 +NSS_CMSSignerInfo_AddSMIMECaps; 1.92 +NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs; 1.93 +NSS_CMSSignerInfo_AddSigningTime; 1.94 +NSS_CMSSignerInfo_Create; 1.95 +NSS_CMSSignerInfo_Destroy; 1.96 +NSS_CMSSignerInfo_GetCertList; 1.97 +NSS_CMSSignerInfo_GetSignerCommonName; 1.98 +NSS_CMSSignerInfo_GetSignerEmailAddress; 1.99 +NSS_CMSSignerInfo_GetSigningCertificate; 1.100 +NSS_CMSSignerInfo_GetSigningTime; 1.101 +NSS_CMSSignerInfo_GetVerificationStatus; 1.102 +NSS_CMSSignerInfo_GetVersion; 1.103 +NSS_CMSSignerInfo_IncludeCerts; 1.104 +NSS_CMSUtil_VerificationStatusToString; 1.105 +NSS_SMIMEUtil_FindBulkAlgForRecipients; 1.106 +CERT_DecodeCertPackage; 1.107 +SEC_PKCS7AddRecipient; 1.108 +SEC_PKCS7AddSigningTime; 1.109 +SEC_PKCS7ContentType; 1.110 +SEC_PKCS7CreateData; 1.111 +SEC_PKCS7CreateEncryptedData; 1.112 +SEC_PKCS7CreateEnvelopedData; 1.113 +SEC_PKCS7CreateSignedData; 1.114 +SEC_PKCS7DecodeItem; 1.115 +SEC_PKCS7DecoderFinish; 1.116 +SEC_PKCS7DecoderStart; 1.117 +SEC_PKCS7DecoderUpdate; 1.118 +SEC_PKCS7DecryptContents; 1.119 +SEC_PKCS7DestroyContentInfo; 1.120 +SEC_PKCS7EncoderFinish; 1.121 +SEC_PKCS7EncoderStart; 1.122 +SEC_PKCS7EncoderUpdate; 1.123 +SEC_PKCS7GetCertificateList; 1.124 +SEC_PKCS7GetContent; 1.125 +SEC_PKCS7GetEncryptionAlgorithm; 1.126 +SEC_PKCS7IncludeCertChain; 1.127 +SEC_PKCS7IsContentEmpty; 1.128 +SEC_PKCS7VerifySignature; 1.129 +SEC_PKCS12AddCertAndKey; 1.130 +SEC_PKCS12AddPasswordIntegrity; 1.131 +SEC_PKCS12CreateExportContext; 1.132 +SEC_PKCS12CreatePasswordPrivSafe; 1.133 +SEC_PKCS12CreateUnencryptedSafe; 1.134 +SEC_PKCS12EnableCipher; 1.135 +SEC_PKCS12Encode; 1.136 +SEC_PKCS12DecoderImportBags; 1.137 +SEC_PKCS12DecoderFinish; 1.138 +SEC_PKCS12DecoderStart; 1.139 +SEC_PKCS12DecoderUpdate; 1.140 +SEC_PKCS12DecoderValidateBags; 1.141 +SEC_PKCS12DecoderVerify; 1.142 +SEC_PKCS12DestroyExportContext; 1.143 +SEC_PKCS12IsEncryptionAllowed; 1.144 +SEC_PKCS12SetPreferredCipher; 1.145 +;+ local: 1.146 +;+ *; 1.147 +;+}; 1.148 +;+NSS_3.2.1 { # NSS 3.2.1 release 1.149 +;+ global: 1.150 +NSSSMIME_VersionCheck; 1.151 +;+ local: 1.152 +;+ *; 1.153 +;+}; 1.154 +;+NSS_3.3 { # NSS 3.3 release 1.155 +;+ global: 1.156 +SEC_PKCS7AddCertificate; 1.157 +SEC_PKCS7CreateCertsOnly; 1.158 +SEC_PKCS7Encode; 1.159 +;+ local: 1.160 +;+ *; 1.161 +;+}; 1.162 +;+NSS_3.4 { # NSS 3.4 release 1.163 +;+ global: 1.164 +CERT_DecodeCertFromPackage; 1.165 +NSS_CMSMessage_IsSigned; 1.166 +NSS_CMSSignedData_SetDigestValue; 1.167 +NSS_SMIMESignerInfo_SaveSMIMEProfile; 1.168 +SEC_PKCS12DecoderGetCerts; 1.169 +SEC_PKCS7ContainsCertsOrCrls; 1.170 +SEC_PKCS7ContentIsEncrypted; 1.171 +SEC_PKCS7ContentIsSigned; 1.172 +SEC_PKCS7CopyContentInfo; 1.173 +SEC_PKCS7GetSignerCommonName; 1.174 +SEC_PKCS7GetSignerEmailAddress; 1.175 +SEC_PKCS7GetSigningTime; 1.176 +SEC_PKCS7SetContent; 1.177 +SEC_PKCS7VerifyDetachedSignature; 1.178 +SECMIME_DecryptionAllowed; 1.179 +;+ local: 1.180 +;+ *; 1.181 +;+}; 1.182 +;+NSS_3.4.1 { # NSS 3.4.1 release 1.183 +;+ global: 1.184 +NSS_CMSMessage_IsEncrypted; 1.185 +;+ local: 1.186 +;+ *; 1.187 +;+}; 1.188 +;+NSS_3.6 { # NSS 3.6 release 1.189 +;+ global: 1.190 +NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs; 1.191 +NSS_CMSSignerInfo_CreateWithSubjKeyID; 1.192 +;+ local: 1.193 +;+ *; 1.194 +;+}; 1.195 +;+NSS_3.7 { # NSS 3.7 release 1.196 +;+ global: 1.197 +NSS_CMSRecipientInfo_CreateWithSubjKeyID; 1.198 +NSS_CMSRecipientInfo_CreateWithSubjKeyIDFromCert; 1.199 +;+ local: 1.200 +;+ *; 1.201 +;+}; 1.202 +;+NSS_3.7.2 { # NSS 3.7.2 release 1.203 +;+ global: 1.204 +NSS_CMSRecipientInfo_WrapBulkKey; 1.205 +NSS_CMSRecipientInfo_UnwrapBulkKey; 1.206 +;+ local: 1.207 +;+ *; 1.208 +;+}; 1.209 +;+NSS_3.8 { # NSS 3.8 release 1.210 +;+ global: 1.211 +NSS_CMSRecipientInfo_CreateNew; 1.212 +NSS_CMSRecipientInfo_CreateFromDER; 1.213 +NSS_CMSRecipientInfo_Encode; 1.214 +NSS_CMSRecipientInfo_GetCertAndKey; 1.215 +SEC_PKCS12DecoderSetTargetTokenCAs; 1.216 +;+ local: 1.217 +;+ *; 1.218 +;+}; 1.219 +;+NSS_3.9 { # NSS 3.9 release 1.220 +;+ global: 1.221 +SEC_PKCS7DecoderAbort; 1.222 +SEC_PKCS7EncoderAbort; 1.223 +;+ local: 1.224 +;+ *; 1.225 +;+}; 1.226 +;+NSS_3.9.3 { # NSS 3.9.3 release 1.227 +;+ global: 1.228 +CERT_ConvertAndDecodeCertificate; 1.229 +SEC_PKCS7EncodeItem; 1.230 +;+ local: 1.231 +;+ *; 1.232 +;+}; 1.233 +;+NSS_3.10 { # NSS 3.10 release 1.234 +;+ global: 1.235 +SEC_PKCS12DecoderIterateInit; 1.236 +SEC_PKCS12DecoderIterateNext; 1.237 +SEC_PKCS12DecryptionAllowed; 1.238 +;+ local: 1.239 +;+ *; 1.240 +;+}; 1.241 +;+NSS_3.12.2 { # NSS 3.12.2 release 1.242 +;+ global: 1.243 +SEC_PKCS12AddCertOrChainAndKey; 1.244 +;+ local: 1.245 +;+ *; 1.246 +;+}; 1.247 +;+NSS_3.12.10 { # NSS 3.12.10 release 1.248 +;+ global: 1.249 +NSS_CMSType_RegisterContentType; 1.250 +NSS_CMSContentInfo_SetDontStream; 1.251 +NSS_SMIMEUtil_CreateMSSMIMEEncKeyPrefs; 1.252 +;+# 1.253 +;+# Data objects 1.254 +;+# 1.255 +;+# Don't export these DATA symbols on Windows because they don't work right. 1.256 +;+# Use the SEC_ASN1_GET / SEC_ASN1_SUB / SEC_ASN1_XTRN macros to access them. 1.257 +;+# 1.258 +;+# See nssutil for other examples. 1.259 +;+# 1.260 +;;NSSCMSGenericWrapperDataTemplate DATA ; 1.261 +;;NSS_PointerToCMSGenericWrapperDataTemplate DATA ; 1.262 +NSS_Get_NSSCMSGenericWrapperDataTemplate; 1.263 +NSS_Get_NSS_PointerToCMSGenericWrapperDataTemplate; 1.264 +;+ local: 1.265 +;+ *; 1.266 +;+}; 1.267 +;+NSS_3.13 { # NSS 3.13 release 1.268 +;+ global: 1.269 +NSSSMIME_GetVersion; 1.270 +;+ local: 1.271 +;+ *; 1.272 +;+}; 1.273 +;+NSS_3.15 { # NSS 3.15 release 1.274 +;+ global: 1.275 +SEC_PKCS7VerifyDetachedSignatureAtTime; 1.276 +;+ local: 1.277 +;+ *; 1.278 +;+}; 1.279 +;+NSS_3.16 { # NSS 3.16 release 1.280 +;+ global: 1.281 +NSS_CMSSignerInfo_Verify; 1.282 +;+ local: 1.283 +;+ *; 1.284 +;+};