
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: ;+NSSUTIL_3.12 {       # NSS Utilities 3.12 release
michael@0: ;+    global:
michael@0: LIBRARY nssutil3	;-
michael@0: EXPORTS		;-
michael@0: ATOB_AsciiToData_Util;
michael@0: ATOB_ConvertAsciiToItem_Util;
michael@0: BTOA_ConvertItemToAscii_Util;
michael@0: BTOA_DataToAscii_Util;
michael@0: CERT_GenTime2FormattedAscii_Util;
michael@0: DER_AsciiToTime_Util;
michael@0: DER_DecodeTimeChoice_Util;
michael@0: DER_Encode_Util;
michael@0: DER_EncodeTimeChoice_Util;
michael@0: DER_GeneralizedDayToAscii_Util;
michael@0: DER_GeneralizedTimeToTime_Util;
michael@0: DER_GetInteger_Util;
michael@0: DER_GetUInteger;
michael@0: DER_LengthLength;
michael@0: DER_Lengths_Util;
michael@0: DER_SetUInteger;
michael@0: DER_StoreHeader;
michael@0: DER_TimeChoiceDayToAscii_Util;
michael@0: DER_TimeToGeneralizedTime_Util;
michael@0: DER_TimeToGeneralizedTimeArena_Util;
michael@0: DER_TimeToUTCTime_Util;
michael@0: DER_UTCDayToAscii_Util;
michael@0: DER_UTCTimeToAscii_Util;
michael@0: DER_UTCTimeToTime_Util;
michael@0: NSS_PutEnv_Util;
michael@0: NSSBase64_DecodeBuffer_Util;
michael@0: NSSBase64_EncodeItem_Util;
michael@0: NSSBase64Decoder_Create_Util;
michael@0: NSSBase64Decoder_Destroy_Util;
michael@0: NSSBase64Decoder_Update_Util;
michael@0: NSSBase64Encoder_Create_Util;
michael@0: NSSBase64Encoder_Destroy_Util;
michael@0: NSSBase64Encoder_Update_Util;
michael@0: NSSRWLock_Destroy_Util;
michael@0: NSSRWLock_HaveWriteLock_Util;
michael@0: NSSRWLock_LockRead_Util;
michael@0: NSSRWLock_LockWrite_Util;
michael@0: NSSRWLock_New_Util;
michael@0: NSSRWLock_UnlockRead_Util;
michael@0: NSSRWLock_UnlockWrite_Util;
michael@0: PORT_Alloc_Util;
michael@0: PORT_ArenaAlloc_Util;
michael@0: PORT_ArenaGrow_Util;
michael@0: PORT_ArenaMark_Util;
michael@0: PORT_ArenaRelease_Util;
michael@0: PORT_ArenaStrdup_Util;
michael@0: PORT_ArenaUnmark_Util;
michael@0: PORT_ArenaZAlloc_Util;
michael@0: PORT_Free_Util;
michael@0: PORT_FreeArena_Util;
michael@0: PORT_GetError_Util;
michael@0: PORT_ISO88591_UTF8Conversion;
michael@0: PORT_NewArena_Util;
michael@0: PORT_Realloc_Util;
michael@0: PORT_RegExpCaseSearch;
michael@0: PORT_RegExpValid;
michael@0: PORT_SetError_Util;
michael@0: PORT_SetUCS2_ASCIIConversionFunction_Util;
michael@0: PORT_SetUCS2_UTF8ConversionFunction_Util;
michael@0: PORT_SetUCS4_UTF8ConversionFunction_Util;
michael@0: PORT_Strdup_Util;
michael@0: PORT_UCS2_ASCIIConversion_Util;
michael@0: PORT_UCS2_UTF8Conversion_Util;
michael@0: PORT_UCS4_UTF8Conversion;
michael@0: PORT_ZAlloc_Util;
michael@0: PORT_ZFree_Util;
michael@0: SEC_ASN1Decode_Util;
michael@0: SEC_ASN1DecodeInteger_Util;
michael@0: SEC_ASN1DecodeItem_Util;
michael@0: SEC_ASN1DecoderAbort_Util;
michael@0: SEC_ASN1DecoderClearFilterProc_Util;
michael@0: SEC_ASN1DecoderClearNotifyProc_Util;
michael@0: SEC_ASN1DecoderFinish_Util;
michael@0: SEC_ASN1DecoderSetFilterProc_Util;
michael@0: SEC_ASN1DecoderSetNotifyProc_Util;
michael@0: SEC_ASN1DecoderStart_Util;
michael@0: SEC_ASN1DecoderUpdate_Util;
michael@0: SEC_ASN1Encode_Util;
michael@0: SEC_ASN1EncodeInteger_Util;
michael@0: SEC_ASN1EncodeItem_Util;
michael@0: SEC_ASN1EncoderAbort_Util;
michael@0: SEC_ASN1EncoderClearNotifyProc_Util;
michael@0: SEC_ASN1EncoderClearStreaming_Util;
michael@0: SEC_ASN1EncoderClearTakeFromBuf_Util;
michael@0: SEC_ASN1EncoderFinish_Util;
michael@0: SEC_ASN1EncoderSetNotifyProc_Util;
michael@0: SEC_ASN1EncoderSetStreaming_Util;
michael@0: SEC_ASN1EncoderSetTakeFromBuf_Util;
michael@0: SEC_ASN1EncoderStart_Util;
michael@0: SEC_ASN1EncoderUpdate_Util;
michael@0: SEC_ASN1EncodeUnsignedInteger_Util;
michael@0: SEC_ASN1LengthLength_Util;
michael@0: SEC_QuickDERDecodeItem_Util;
michael@0: SEC_StringToOID;
michael@0: SECITEM_AllocItem_Util;
michael@0: SECITEM_ArenaDupItem_Util;
michael@0: SECITEM_CompareItem_Util;
michael@0: SECITEM_CopyItem_Util;
michael@0: SECITEM_DupItem_Util;
michael@0: SECITEM_FreeItem_Util;
michael@0: SECITEM_Hash;
michael@0: SECITEM_HashCompare;
michael@0: SECITEM_ItemsAreEqual_Util;
michael@0: SECITEM_ZfreeItem_Util;
michael@0: SECOID_AddEntry_Util;
michael@0: SECOID_CompareAlgorithmID_Util;
michael@0: SECOID_CopyAlgorithmID_Util;
michael@0: SECOID_DestroyAlgorithmID_Util;
michael@0: SECOID_FindOID_Util;
michael@0: SECOID_FindOIDByMechanism;
michael@0: SECOID_FindOIDByTag_Util;
michael@0: SECOID_FindOIDTag_Util;
michael@0: SECOID_FindOIDTagDescription_Util;
michael@0: SECOID_GetAlgorithmTag_Util;
michael@0: SECOID_Init;
michael@0: SECOID_KnownCertExtenOID;
michael@0: SECOID_SetAlgorithmID_Util;
michael@0: SECOID_Shutdown;
michael@0: SGN_CompareDigestInfo_Util;
michael@0: SGN_CopyDigestInfo_Util;
michael@0: SGN_CreateDigestInfo_Util;
michael@0: SGN_DecodeDigestInfo;
michael@0: SGN_DestroyDigestInfo_Util;
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: ;;SEC_AnyTemplate_Util DATA ;
michael@0: ;;SEC_BitStringTemplate_Util DATA ;
michael@0: ;;SEC_BMPStringTemplate_Util DATA ;
michael@0: ;;SEC_BooleanTemplate_Util DATA ;
michael@0: ;;SEC_EnumeratedTemplate DATA ;
michael@0: ;;SEC_GeneralizedTimeTemplate_Util DATA ;
michael@0: ;;SEC_IA5StringTemplate_Util DATA ;
michael@0: ;;SEC_IntegerTemplate_Util DATA ;
michael@0: ;;SEC_NullTemplate_Util DATA ;
michael@0: ;;SEC_ObjectIDTemplate_Util DATA ;
michael@0: ;;SEC_OctetStringTemplate_Util DATA ;
michael@0: ;;SEC_PointerToAnyTemplate_Util DATA ;
michael@0: ;;SEC_PointerToEnumeratedTemplate DATA ;
michael@0: ;;SEC_PointerToGeneralizedTimeTemplate DATA ;
michael@0: ;;SEC_PointerToOctetStringTemplate_Util DATA ;
michael@0: ;;SEC_PrintableStringTemplate DATA ;
michael@0: ;;SEC_SequenceOfAnyTemplate DATA ;
michael@0: ;;SEC_SequenceOfObjectIDTemplate DATA ;
michael@0: ;;SEC_SetOfAnyTemplate_Util DATA ;
michael@0: ;;SEC_SkipTemplate DATA ;
michael@0: ;;SEC_T61StringTemplate DATA ;
michael@0: ;;SEC_UniversalStringTemplate DATA ;
michael@0: ;;SEC_UTF8StringTemplate_Util DATA ;
michael@0: ;;SECOID_AlgorithmIDTemplate_Util DATA ;
michael@0: ;;sgn_DigestInfoTemplate_Util DATA ;
michael@0: NSS_Get_SEC_AnyTemplate_Util;
michael@0: NSS_Get_SEC_BitStringTemplate_Util;
michael@0: NSS_Get_SEC_BMPStringTemplate_Util;
michael@0: NSS_Get_SEC_BooleanTemplate_Util;
michael@0: NSS_Get_SEC_EnumeratedTemplate;
michael@0: NSS_Get_SEC_GeneralizedTimeTemplate_Util;
michael@0: NSS_Get_SEC_IA5StringTemplate_Util;
michael@0: NSS_Get_SEC_IntegerTemplate_Util;
michael@0: NSS_Get_SEC_NullTemplate_Util;
michael@0: NSS_Get_SEC_ObjectIDTemplate_Util;
michael@0: NSS_Get_SEC_OctetStringTemplate_Util;
michael@0: NSS_Get_SEC_PointerToAnyTemplate_Util;
michael@0: NSS_Get_SEC_PointerToEnumeratedTemplate;
michael@0: NSS_Get_SEC_PointerToGeneralizedTimeTemplate;
michael@0: NSS_Get_SEC_PointerToOctetStringTemplate_Util;
michael@0: NSS_Get_SEC_PrintableStringTemplate;
michael@0: NSS_Get_SEC_SequenceOfAnyTemplate;
michael@0: NSS_Get_SEC_SequenceOfObjectIDTemplate;
michael@0: NSS_Get_SEC_SetOfAnyTemplate_Util;
michael@0: NSS_Get_SEC_SkipTemplate;
michael@0: NSS_Get_SEC_T61StringTemplate;
michael@0: NSS_Get_SEC_UniversalStringTemplate;
michael@0: NSS_Get_SEC_UTF8StringTemplate_Util;
michael@0: NSS_Get_SECOID_AlgorithmIDTemplate_Util;
michael@0: NSS_Get_sgn_DigestInfoTemplate_Util;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSSUTIL_3.12.3 {       # NSS Utilities 3.12.3 release
michael@0: ;+    global:
michael@0: NSS_GetAlgorithmPolicy;
michael@0: NSS_SetAlgorithmPolicy;
michael@0: SECITEM_ReallocItem;
michael@0: UTIL_SetForkState;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSSUTIL_3.12.5 {       # NSS Utilities 3.12.5 release
michael@0: ;+    global:
michael@0: NSS_SecureMemcmp;
michael@0: PORT_LoadLibraryFromOrigin;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSSUTIL_3.12.7 {       # NSS Utilities 3.12.7 release
michael@0: ;+    global:
michael@0: PORT_RegExpSearch;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSSUTIL_3.13 {         # NSS Utilities 3.13 release
michael@0: ;+    global:
michael@0: NSSUTIL_GetVersion;
michael@0: NSS_InitializePRErrorTable;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSSUTIL_3.14 {         # NSS Utilities 3.14 release
michael@0: ;+    global:
michael@0: ;+# private exports for softoken
michael@0: _NSSUTIL_GetSecmodName;
michael@0: _NSSUTIL_EvaluateConfigDir;
michael@0: ;+# public exports
michael@0: NSSUTIL_ArgDecodeNumber;
michael@0: NSSUTIL_ArgFetchValue;
michael@0: NSSUTIL_ArgGetParamValue;
michael@0: NSSUTIL_ArgGetLabel;
michael@0: NSSUTIL_ArgHasFlag;
michael@0: NSSUTIL_ArgIsBlank;
michael@0: NSSUTIL_ArgParseCipherFlags;
michael@0: NSSUTIL_ArgParseModuleSpec;
michael@0: NSSUTIL_ArgParseSlotFlags;
michael@0: NSSUTIL_ArgParseSlotInfo;
michael@0: NSSUTIL_ArgReadLong;
michael@0: NSSUTIL_ArgSkipParameter;
michael@0: NSSUTIL_ArgStrip;
michael@0: NSSUTIL_DoModuleDBFunction;
michael@0: NSSUTIL_DoubleEscape;
michael@0: NSSUTIL_DoubleEscapeSize;
michael@0: NSSUTIL_Escape;
michael@0: NSSUTIL_EscapeSize;
michael@0: NSSUTIL_MkModuleSpec;
michael@0: NSSUTIL_MkNSSString;
michael@0: NSSUTIL_MkSlotString;
michael@0: NSSUTIL_Quote;
michael@0: NSSUTIL_QuoteSize;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSSUTIL_3.15 {         # NSS Utilities 3.15 release
michael@0: ;+    global:
michael@0: SECITEM_AllocArray;
michael@0: SECITEM_DupArray;
michael@0: SECITEM_FreeArray;
michael@0: SECITEM_ReallocItemV2;
michael@0: SECITEM_ZfreeArray;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};
michael@0: ;+NSSUTIL_3.17.1 {         # NSS Utilities 3.17.1 release
michael@0: ;+    global:
michael@0: _SGN_VerifyPKCS1DigestInfo;
michael@0: ;+    local:
michael@0: ;+       *;
michael@0: ;+};




