
michael@0: ;+#
michael@0: ;+# This Source Code Form is subject to the terms of the Mozilla Public
michael@0: ;+# License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0: ;+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0: ;+#
michael@0: ;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS
michael@0: ;+#   1. For all unix platforms, the string ";-"  means "remove this line"
michael@0: ;+#   2. For all unix platforms, the string " DATA " will be removed from any 
michael@0: ;+#	line on which it occurs.
michael@0: ;+#   3. Lines containing ";+" will have ";+" removed on SUN and LINUX.
michael@0: ;+#      On AIX, lines containing ";+" will be removed.  
michael@0: ;+#   4. For all unix platforms, the string ";;" will thave the ";;" removed.
michael@0: ;+#   5. For all unix platforms, after the above processing has taken place,
michael@0: ;+#    all characters after the first ";" on the line will be removed.  
michael@0: ;+#    And for AIX, the first ";" will also be removed.
michael@0: ;+#  This file is passed directly to windows. Since ';' is a comment, all UNIX
michael@0: ;+#   directives are hidden behind ";", ";+", and ";-"
michael@0: ;+
michael@0: ;+NSS_3.2 {               # NSS 3.2 release
michael@0: ;+    global:
michael@0: LIBRARY smime3 ;-
michael@0: EXPORTS	;-
michael@0: NSS_CMSContentInfo_GetBulkKey;
michael@0: NSS_CMSContentInfo_GetBulkKeySize;
michael@0: NSS_CMSContentInfo_GetContent;
michael@0: NSS_CMSContentInfo_GetContentEncAlgTag;
michael@0: NSS_CMSContentInfo_GetContentTypeTag;
michael@0: NSS_CMSContentInfo_SetBulkKey;
michael@0: NSS_CMSContentInfo_SetContent;
michael@0: NSS_CMSContentInfo_SetContentEncAlg;
michael@0: NSS_CMSContentInfo_SetContent_Data;
michael@0: NSS_CMSContentInfo_SetContent_DigestedData;
michael@0: NSS_CMSContentInfo_SetContent_EncryptedData;
michael@0: NSS_CMSContentInfo_SetContent_EnvelopedData;
michael@0: NSS_CMSContentInfo_SetContent_SignedData;
michael@0: NSS_CMSDEREncode;
michael@0: NSS_CMSDecoder_Cancel;
michael@0: NSS_CMSDecoder_Finish;
michael@0: NSS_CMSDecoder_Start;
michael@0: NSS_CMSDecoder_Update;
michael@0: NSS_CMSDigestContext_Cancel;
michael@0: NSS_CMSDigestContext_FinishMultiple;
michael@0: NSS_CMSDigestContext_FinishSingle;
michael@0: NSS_CMSDigestContext_StartMultiple;
michael@0: NSS_CMSDigestContext_StartSingle;
michael@0: NSS_CMSDigestContext_Update;
michael@0: NSS_CMSDigestedData_Create;
michael@0: NSS_CMSDigestedData_Destroy;
michael@0: NSS_CMSDigestedData_GetContentInfo;
michael@0: NSS_CMSEncoder_Cancel;
michael@0: NSS_CMSEncoder_Finish;
michael@0: NSS_CMSEncoder_Start;
michael@0: NSS_CMSEncoder_Update;
michael@0: NSS_CMSEncryptedData_Create;
michael@0: NSS_CMSEncryptedData_Destroy;
michael@0: NSS_CMSEncryptedData_GetContentInfo;
michael@0: NSS_CMSEnvelopedData_AddRecipient;
michael@0: NSS_CMSEnvelopedData_Create;
michael@0: NSS_CMSEnvelopedData_Destroy;
michael@0: NSS_CMSEnvelopedData_GetContentInfo;
michael@0: NSS_CMSMessage_ContentLevel;
michael@0: NSS_CMSMessage_ContentLevelCount;
michael@0: NSS_CMSMessage_Copy;
michael@0: NSS_CMSMessage_Create;
michael@0: NSS_CMSMessage_CreateFromDER;
michael@0: NSS_CMSMessage_Destroy;
michael@0: NSS_CMSMessage_GetContent;
michael@0: NSS_CMSMessage_GetContentInfo;
michael@0: NSS_CMSRecipientInfo_Create;
michael@0: NSS_CMSRecipientInfo_Destroy;
michael@0: NSS_CMSSignedData_AddCertChain;
michael@0: NSS_CMSSignedData_AddCertList;
michael@0: NSS_CMSSignedData_AddCertificate;
michael@0: NSS_CMSSignedData_AddDigest;
michael@0: NSS_CMSSignedData_AddSignerInfo;
michael@0: NSS_CMSSignedData_Create;
michael@0: NSS_CMSSignedData_CreateCertsOnly;
michael@0: NSS_CMSSignedData_Destroy;
michael@0: NSS_CMSSignedData_GetContentInfo;
michael@0: NSS_CMSSignedData_GetDigestAlgs;
michael@0: NSS_CMSSignedData_GetSignerInfo;
michael@0: NSS_CMSSignedData_HasDigests;
michael@0: NSS_CMSSignedData_ImportCerts;
michael@0: NSS_CMSSignedData_SetDigests;
michael@0: NSS_CMSSignedData_SignerInfoCount;
michael@0: NSS_CMSSignedData_VerifyCertsOnly;
michael@0: NSS_CMSSignedData_VerifySignerInfo;
michael@0: NSS_CMSSignerInfo_AddSMIMECaps;
michael@0: NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs;
michael@0: NSS_CMSSignerInfo_AddSigningTime;
michael@0: NSS_CMSSignerInfo_Create;
michael@0: NSS_CMSSignerInfo_Destroy;
michael@0: NSS_CMSSignerInfo_GetCertList;
michael@0: NSS_CMSSignerInfo_GetSignerCommonName;
michael@0: NSS_CMSSignerInfo_GetSignerEmailAddress;
michael@0: NSS_CMSSignerInfo_GetSigningCertificate;
michael@0: NSS_CMSSignerInfo_GetSigningTime;
michael@0: NSS_CMSSignerInfo_GetVerificationStatus;
michael@0: NSS_CMSSignerInfo_GetVersion;
michael@0: NSS_CMSSignerInfo_IncludeCerts;
michael@0: NSS_CMSUtil_VerificationStatusToString;
michael@0: NSS_SMIMEUtil_FindBulkAlgForRecipients;
michael@0: CERT_DecodeCertPackage;
michael@0: SEC_PKCS7AddRecipient;
michael@0: SEC_PKCS7AddSigningTime;
michael@0: SEC_PKCS7ContentType;
michael@0: SEC_PKCS7CreateData;
michael@0: SEC_PKCS7CreateEncryptedData;
michael@0: SEC_PKCS7CreateEnvelopedData;
michael@0: SEC_PKCS7CreateSignedData;
michael@0: SEC_PKCS7DecodeItem;
michael@0: SEC_PKCS7DecoderFinish;
michael@0: SEC_PKCS7DecoderStart;
michael@0: SEC_PKCS7DecoderUpdate;
michael@0: SEC_PKCS7DecryptContents;
michael@0: SEC_PKCS7DestroyContentInfo;
michael@0: SEC_PKCS7EncoderFinish;
michael@0: SEC_PKCS7EncoderStart;
michael@0: SEC_PKCS7EncoderUpdate;
michael@0: SEC_PKCS7GetCertificateList;
michael@0: SEC_PKCS7GetContent;
michael@0: SEC_PKCS7GetEncryptionAlgorithm;
michael@0: SEC_PKCS7IncludeCertChain;
michael@0: SEC_PKCS7IsContentEmpty;
michael@0: SEC_PKCS7VerifySignature;
michael@0: SEC_PKCS12AddCertAndKey;
michael@0: SEC_PKCS12AddPasswordIntegrity;
michael@0: SEC_PKCS12CreateExportContext;
michael@0: SEC_PKCS12CreatePasswordPrivSafe;
michael@0: SEC_PKCS12CreateUnencryptedSafe;
michael@0: SEC_PKCS12EnableCipher;
michael@0: SEC_PKCS12Encode;
michael@0: SEC_PKCS12DecoderImportBags;
michael@0: SEC_PKCS12DecoderFinish;
michael@0: SEC_PKCS12DecoderStart;
michael@0: SEC_PKCS12DecoderUpdate;
michael@0: SEC_PKCS12DecoderValidateBags;
michael@0: SEC_PKCS12DecoderVerify;
michael@0: SEC_PKCS12DestroyExportContext;
michael@0: SEC_PKCS12IsEncryptionAllowed;
michael@0: SEC_PKCS12SetPreferredCipher;
michael@0: ;+    local:
michael@0: ;+        *;
michael@0: ;+};
michael@0: ;+NSS_3.2.1 {               # NSS 3.2.1 release
michael@0: ;+    global:
michael@0: NSSSMIME_VersionCheck;
michael@0: ;+    local:
michael@0: ;+        *;
michael@0: ;+};
michael@0: ;+NSS_3.3 {     # NSS 3.3 release
michael@0: ;+    global:
michael@0: SEC_PKCS7AddCertificate;
michael@0: SEC_PKCS7CreateCertsOnly;
michael@0: SEC_PKCS7Encode;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.4 {     # NSS 3.4 release
michael@0: ;+    global:
michael@0: CERT_DecodeCertFromPackage;
michael@0: NSS_CMSMessage_IsSigned;
michael@0: NSS_CMSSignedData_SetDigestValue;
michael@0: NSS_SMIMESignerInfo_SaveSMIMEProfile;
michael@0: SEC_PKCS12DecoderGetCerts;
michael@0: SEC_PKCS7ContainsCertsOrCrls;
michael@0: SEC_PKCS7ContentIsEncrypted;
michael@0: SEC_PKCS7ContentIsSigned;
michael@0: SEC_PKCS7CopyContentInfo;
michael@0: SEC_PKCS7GetSignerCommonName;
michael@0: SEC_PKCS7GetSignerEmailAddress;
michael@0: SEC_PKCS7GetSigningTime;
michael@0: SEC_PKCS7SetContent;
michael@0: SEC_PKCS7VerifyDetachedSignature;
michael@0: SECMIME_DecryptionAllowed;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.4.1 {     # NSS 3.4.1 release
michael@0: ;+    global:
michael@0: NSS_CMSMessage_IsEncrypted;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.6 {     # NSS 3.6 release
michael@0: ;+    global:
michael@0: NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs;
michael@0: NSS_CMSSignerInfo_CreateWithSubjKeyID;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.7 {     # NSS 3.7 release
michael@0: ;+    global:
michael@0: NSS_CMSRecipientInfo_CreateWithSubjKeyID;
michael@0: NSS_CMSRecipientInfo_CreateWithSubjKeyIDFromCert;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.7.2 {   # NSS 3.7.2 release
michael@0: ;+    global:
michael@0: NSS_CMSRecipientInfo_WrapBulkKey;
michael@0: NSS_CMSRecipientInfo_UnwrapBulkKey;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.8 {   # NSS 3.8 release
michael@0: ;+    global:
michael@0: NSS_CMSRecipientInfo_CreateNew;
michael@0: NSS_CMSRecipientInfo_CreateFromDER;
michael@0: NSS_CMSRecipientInfo_Encode;
michael@0: NSS_CMSRecipientInfo_GetCertAndKey;
michael@0: SEC_PKCS12DecoderSetTargetTokenCAs;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.9 {   # NSS 3.9 release
michael@0: ;+    global:
michael@0: SEC_PKCS7DecoderAbort;
michael@0: SEC_PKCS7EncoderAbort;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.9.3 {   # NSS 3.9.3 release
michael@0: ;+    global:
michael@0: CERT_ConvertAndDecodeCertificate;
michael@0: SEC_PKCS7EncodeItem;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.10 {   # NSS 3.10 release
michael@0: ;+    global:
michael@0: SEC_PKCS12DecoderIterateInit;
michael@0: SEC_PKCS12DecoderIterateNext;
michael@0: SEC_PKCS12DecryptionAllowed;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.12.2 {   # NSS 3.12.2 release
michael@0: ;+    global:
michael@0: SEC_PKCS12AddCertOrChainAndKey;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.12.10 {   # NSS 3.12.10 release
michael@0: ;+    global:
michael@0: NSS_CMSType_RegisterContentType;
michael@0: NSS_CMSContentInfo_SetDontStream;
michael@0: NSS_SMIMEUtil_CreateMSSMIMEEncKeyPrefs;
michael@0: ;+#
michael@0: ;+# Data objects
michael@0: ;+#
michael@0: ;+# Don't export these DATA symbols on Windows because they don't work right.
michael@0: ;+# Use the SEC_ASN1_GET / SEC_ASN1_SUB / SEC_ASN1_XTRN macros to access them.
michael@0: ;+#
michael@0: ;+# See nssutil for other examples.
michael@0: ;+#
michael@0: ;;NSSCMSGenericWrapperDataTemplate DATA ;
michael@0: ;;NSS_PointerToCMSGenericWrapperDataTemplate DATA ;
michael@0: NSS_Get_NSSCMSGenericWrapperDataTemplate;
michael@0: NSS_Get_NSS_PointerToCMSGenericWrapperDataTemplate;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.13 {    # NSS 3.13 release
michael@0: ;+    global:
michael@0: NSSSMIME_GetVersion;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.15 {    # NSS 3.15 release
michael@0: ;+    global:
michael@0: SEC_PKCS7VerifyDetachedSignatureAtTime;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSS_3.16 {    # NSS 3.16 release
michael@0: ;+    global:
michael@0: NSS_CMSSignerInfo_Verify;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};




