Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | ;+# |
michael@0 | 2 | ;+# This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | ;+# License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | ;+# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 5 | ;+# |
michael@0 | 6 | ;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS |
michael@0 | 7 | ;+# 1. For all unix platforms, the string ";-" means "remove this line" |
michael@0 | 8 | ;+# 2. For all unix platforms, the string " DATA " will be removed from any |
michael@0 | 9 | ;+# line on which it occurs. |
michael@0 | 10 | ;+# 3. Lines containing ";+" will have ";+" removed on SUN and LINUX. |
michael@0 | 11 | ;+# On AIX, lines containing ";+" will be removed. |
michael@0 | 12 | ;+# 4. For all unix platforms, the string ";;" will thave the ";;" removed. |
michael@0 | 13 | ;+# 5. For all unix platforms, after the above processing has taken place, |
michael@0 | 14 | ;+# all characters after the first ";" on the line will be removed. |
michael@0 | 15 | ;+# And for AIX, the first ";" will also be removed. |
michael@0 | 16 | ;+# This file is passed directly to windows. Since ';' is a comment, all UNIX |
michael@0 | 17 | ;+# directives are hidden behind ";", ";+", and ";-" |
michael@0 | 18 | ;+NSSUTIL_3.12 { # NSS Utilities 3.12 release |
michael@0 | 19 | ;+ global: |
michael@0 | 20 | LIBRARY nssutil3 ;- |
michael@0 | 21 | EXPORTS ;- |
michael@0 | 22 | ATOB_AsciiToData_Util; |
michael@0 | 23 | ATOB_ConvertAsciiToItem_Util; |
michael@0 | 24 | BTOA_ConvertItemToAscii_Util; |
michael@0 | 25 | BTOA_DataToAscii_Util; |
michael@0 | 26 | CERT_GenTime2FormattedAscii_Util; |
michael@0 | 27 | DER_AsciiToTime_Util; |
michael@0 | 28 | DER_DecodeTimeChoice_Util; |
michael@0 | 29 | DER_Encode_Util; |
michael@0 | 30 | DER_EncodeTimeChoice_Util; |
michael@0 | 31 | DER_GeneralizedDayToAscii_Util; |
michael@0 | 32 | DER_GeneralizedTimeToTime_Util; |
michael@0 | 33 | DER_GetInteger_Util; |
michael@0 | 34 | DER_GetUInteger; |
michael@0 | 35 | DER_LengthLength; |
michael@0 | 36 | DER_Lengths_Util; |
michael@0 | 37 | DER_SetUInteger; |
michael@0 | 38 | DER_StoreHeader; |
michael@0 | 39 | DER_TimeChoiceDayToAscii_Util; |
michael@0 | 40 | DER_TimeToGeneralizedTime_Util; |
michael@0 | 41 | DER_TimeToGeneralizedTimeArena_Util; |
michael@0 | 42 | DER_TimeToUTCTime_Util; |
michael@0 | 43 | DER_UTCDayToAscii_Util; |
michael@0 | 44 | DER_UTCTimeToAscii_Util; |
michael@0 | 45 | DER_UTCTimeToTime_Util; |
michael@0 | 46 | NSS_PutEnv_Util; |
michael@0 | 47 | NSSBase64_DecodeBuffer_Util; |
michael@0 | 48 | NSSBase64_EncodeItem_Util; |
michael@0 | 49 | NSSBase64Decoder_Create_Util; |
michael@0 | 50 | NSSBase64Decoder_Destroy_Util; |
michael@0 | 51 | NSSBase64Decoder_Update_Util; |
michael@0 | 52 | NSSBase64Encoder_Create_Util; |
michael@0 | 53 | NSSBase64Encoder_Destroy_Util; |
michael@0 | 54 | NSSBase64Encoder_Update_Util; |
michael@0 | 55 | NSSRWLock_Destroy_Util; |
michael@0 | 56 | NSSRWLock_HaveWriteLock_Util; |
michael@0 | 57 | NSSRWLock_LockRead_Util; |
michael@0 | 58 | NSSRWLock_LockWrite_Util; |
michael@0 | 59 | NSSRWLock_New_Util; |
michael@0 | 60 | NSSRWLock_UnlockRead_Util; |
michael@0 | 61 | NSSRWLock_UnlockWrite_Util; |
michael@0 | 62 | PORT_Alloc_Util; |
michael@0 | 63 | PORT_ArenaAlloc_Util; |
michael@0 | 64 | PORT_ArenaGrow_Util; |
michael@0 | 65 | PORT_ArenaMark_Util; |
michael@0 | 66 | PORT_ArenaRelease_Util; |
michael@0 | 67 | PORT_ArenaStrdup_Util; |
michael@0 | 68 | PORT_ArenaUnmark_Util; |
michael@0 | 69 | PORT_ArenaZAlloc_Util; |
michael@0 | 70 | PORT_Free_Util; |
michael@0 | 71 | PORT_FreeArena_Util; |
michael@0 | 72 | PORT_GetError_Util; |
michael@0 | 73 | PORT_ISO88591_UTF8Conversion; |
michael@0 | 74 | PORT_NewArena_Util; |
michael@0 | 75 | PORT_Realloc_Util; |
michael@0 | 76 | PORT_RegExpCaseSearch; |
michael@0 | 77 | PORT_RegExpValid; |
michael@0 | 78 | PORT_SetError_Util; |
michael@0 | 79 | PORT_SetUCS2_ASCIIConversionFunction_Util; |
michael@0 | 80 | PORT_SetUCS2_UTF8ConversionFunction_Util; |
michael@0 | 81 | PORT_SetUCS4_UTF8ConversionFunction_Util; |
michael@0 | 82 | PORT_Strdup_Util; |
michael@0 | 83 | PORT_UCS2_ASCIIConversion_Util; |
michael@0 | 84 | PORT_UCS2_UTF8Conversion_Util; |
michael@0 | 85 | PORT_UCS4_UTF8Conversion; |
michael@0 | 86 | PORT_ZAlloc_Util; |
michael@0 | 87 | PORT_ZFree_Util; |
michael@0 | 88 | SEC_ASN1Decode_Util; |
michael@0 | 89 | SEC_ASN1DecodeInteger_Util; |
michael@0 | 90 | SEC_ASN1DecodeItem_Util; |
michael@0 | 91 | SEC_ASN1DecoderAbort_Util; |
michael@0 | 92 | SEC_ASN1DecoderClearFilterProc_Util; |
michael@0 | 93 | SEC_ASN1DecoderClearNotifyProc_Util; |
michael@0 | 94 | SEC_ASN1DecoderFinish_Util; |
michael@0 | 95 | SEC_ASN1DecoderSetFilterProc_Util; |
michael@0 | 96 | SEC_ASN1DecoderSetNotifyProc_Util; |
michael@0 | 97 | SEC_ASN1DecoderStart_Util; |
michael@0 | 98 | SEC_ASN1DecoderUpdate_Util; |
michael@0 | 99 | SEC_ASN1Encode_Util; |
michael@0 | 100 | SEC_ASN1EncodeInteger_Util; |
michael@0 | 101 | SEC_ASN1EncodeItem_Util; |
michael@0 | 102 | SEC_ASN1EncoderAbort_Util; |
michael@0 | 103 | SEC_ASN1EncoderClearNotifyProc_Util; |
michael@0 | 104 | SEC_ASN1EncoderClearStreaming_Util; |
michael@0 | 105 | SEC_ASN1EncoderClearTakeFromBuf_Util; |
michael@0 | 106 | SEC_ASN1EncoderFinish_Util; |
michael@0 | 107 | SEC_ASN1EncoderSetNotifyProc_Util; |
michael@0 | 108 | SEC_ASN1EncoderSetStreaming_Util; |
michael@0 | 109 | SEC_ASN1EncoderSetTakeFromBuf_Util; |
michael@0 | 110 | SEC_ASN1EncoderStart_Util; |
michael@0 | 111 | SEC_ASN1EncoderUpdate_Util; |
michael@0 | 112 | SEC_ASN1EncodeUnsignedInteger_Util; |
michael@0 | 113 | SEC_ASN1LengthLength_Util; |
michael@0 | 114 | SEC_QuickDERDecodeItem_Util; |
michael@0 | 115 | SEC_StringToOID; |
michael@0 | 116 | SECITEM_AllocItem_Util; |
michael@0 | 117 | SECITEM_ArenaDupItem_Util; |
michael@0 | 118 | SECITEM_CompareItem_Util; |
michael@0 | 119 | SECITEM_CopyItem_Util; |
michael@0 | 120 | SECITEM_DupItem_Util; |
michael@0 | 121 | SECITEM_FreeItem_Util; |
michael@0 | 122 | SECITEM_Hash; |
michael@0 | 123 | SECITEM_HashCompare; |
michael@0 | 124 | SECITEM_ItemsAreEqual_Util; |
michael@0 | 125 | SECITEM_ZfreeItem_Util; |
michael@0 | 126 | SECOID_AddEntry_Util; |
michael@0 | 127 | SECOID_CompareAlgorithmID_Util; |
michael@0 | 128 | SECOID_CopyAlgorithmID_Util; |
michael@0 | 129 | SECOID_DestroyAlgorithmID_Util; |
michael@0 | 130 | SECOID_FindOID_Util; |
michael@0 | 131 | SECOID_FindOIDByMechanism; |
michael@0 | 132 | SECOID_FindOIDByTag_Util; |
michael@0 | 133 | SECOID_FindOIDTag_Util; |
michael@0 | 134 | SECOID_FindOIDTagDescription_Util; |
michael@0 | 135 | SECOID_GetAlgorithmTag_Util; |
michael@0 | 136 | SECOID_Init; |
michael@0 | 137 | SECOID_KnownCertExtenOID; |
michael@0 | 138 | SECOID_SetAlgorithmID_Util; |
michael@0 | 139 | SECOID_Shutdown; |
michael@0 | 140 | SGN_CompareDigestInfo_Util; |
michael@0 | 141 | SGN_CopyDigestInfo_Util; |
michael@0 | 142 | SGN_CreateDigestInfo_Util; |
michael@0 | 143 | SGN_DecodeDigestInfo; |
michael@0 | 144 | SGN_DestroyDigestInfo_Util; |
michael@0 | 145 | ;+# |
michael@0 | 146 | ;+# Data objects |
michael@0 | 147 | ;+# |
michael@0 | 148 | ;+# Don't export these DATA symbols on Windows because they don't work right. |
michael@0 | 149 | ;+# Use the SEC_ASN1_GET / SEC_ASN1_SUB / SEC_ASN1_XTRN macros to access them. |
michael@0 | 150 | ;;SEC_AnyTemplate_Util DATA ; |
michael@0 | 151 | ;;SEC_BitStringTemplate_Util DATA ; |
michael@0 | 152 | ;;SEC_BMPStringTemplate_Util DATA ; |
michael@0 | 153 | ;;SEC_BooleanTemplate_Util DATA ; |
michael@0 | 154 | ;;SEC_EnumeratedTemplate DATA ; |
michael@0 | 155 | ;;SEC_GeneralizedTimeTemplate_Util DATA ; |
michael@0 | 156 | ;;SEC_IA5StringTemplate_Util DATA ; |
michael@0 | 157 | ;;SEC_IntegerTemplate_Util DATA ; |
michael@0 | 158 | ;;SEC_NullTemplate_Util DATA ; |
michael@0 | 159 | ;;SEC_ObjectIDTemplate_Util DATA ; |
michael@0 | 160 | ;;SEC_OctetStringTemplate_Util DATA ; |
michael@0 | 161 | ;;SEC_PointerToAnyTemplate_Util DATA ; |
michael@0 | 162 | ;;SEC_PointerToEnumeratedTemplate DATA ; |
michael@0 | 163 | ;;SEC_PointerToGeneralizedTimeTemplate DATA ; |
michael@0 | 164 | ;;SEC_PointerToOctetStringTemplate_Util DATA ; |
michael@0 | 165 | ;;SEC_PrintableStringTemplate DATA ; |
michael@0 | 166 | ;;SEC_SequenceOfAnyTemplate DATA ; |
michael@0 | 167 | ;;SEC_SequenceOfObjectIDTemplate DATA ; |
michael@0 | 168 | ;;SEC_SetOfAnyTemplate_Util DATA ; |
michael@0 | 169 | ;;SEC_SkipTemplate DATA ; |
michael@0 | 170 | ;;SEC_T61StringTemplate DATA ; |
michael@0 | 171 | ;;SEC_UniversalStringTemplate DATA ; |
michael@0 | 172 | ;;SEC_UTF8StringTemplate_Util DATA ; |
michael@0 | 173 | ;;SECOID_AlgorithmIDTemplate_Util DATA ; |
michael@0 | 174 | ;;sgn_DigestInfoTemplate_Util DATA ; |
michael@0 | 175 | NSS_Get_SEC_AnyTemplate_Util; |
michael@0 | 176 | NSS_Get_SEC_BitStringTemplate_Util; |
michael@0 | 177 | NSS_Get_SEC_BMPStringTemplate_Util; |
michael@0 | 178 | NSS_Get_SEC_BooleanTemplate_Util; |
michael@0 | 179 | NSS_Get_SEC_EnumeratedTemplate; |
michael@0 | 180 | NSS_Get_SEC_GeneralizedTimeTemplate_Util; |
michael@0 | 181 | NSS_Get_SEC_IA5StringTemplate_Util; |
michael@0 | 182 | NSS_Get_SEC_IntegerTemplate_Util; |
michael@0 | 183 | NSS_Get_SEC_NullTemplate_Util; |
michael@0 | 184 | NSS_Get_SEC_ObjectIDTemplate_Util; |
michael@0 | 185 | NSS_Get_SEC_OctetStringTemplate_Util; |
michael@0 | 186 | NSS_Get_SEC_PointerToAnyTemplate_Util; |
michael@0 | 187 | NSS_Get_SEC_PointerToEnumeratedTemplate; |
michael@0 | 188 | NSS_Get_SEC_PointerToGeneralizedTimeTemplate; |
michael@0 | 189 | NSS_Get_SEC_PointerToOctetStringTemplate_Util; |
michael@0 | 190 | NSS_Get_SEC_PrintableStringTemplate; |
michael@0 | 191 | NSS_Get_SEC_SequenceOfAnyTemplate; |
michael@0 | 192 | NSS_Get_SEC_SequenceOfObjectIDTemplate; |
michael@0 | 193 | NSS_Get_SEC_SetOfAnyTemplate_Util; |
michael@0 | 194 | NSS_Get_SEC_SkipTemplate; |
michael@0 | 195 | NSS_Get_SEC_T61StringTemplate; |
michael@0 | 196 | NSS_Get_SEC_UniversalStringTemplate; |
michael@0 | 197 | NSS_Get_SEC_UTF8StringTemplate_Util; |
michael@0 | 198 | NSS_Get_SECOID_AlgorithmIDTemplate_Util; |
michael@0 | 199 | NSS_Get_sgn_DigestInfoTemplate_Util; |
michael@0 | 200 | ;+ local: |
michael@0 | 201 | ;+ *; |
michael@0 | 202 | ;+}; |
michael@0 | 203 | ;+NSSUTIL_3.12.3 { # NSS Utilities 3.12.3 release |
michael@0 | 204 | ;+ global: |
michael@0 | 205 | NSS_GetAlgorithmPolicy; |
michael@0 | 206 | NSS_SetAlgorithmPolicy; |
michael@0 | 207 | SECITEM_ReallocItem; |
michael@0 | 208 | UTIL_SetForkState; |
michael@0 | 209 | ;+ local: |
michael@0 | 210 | ;+ *; |
michael@0 | 211 | ;+}; |
michael@0 | 212 | ;+NSSUTIL_3.12.5 { # NSS Utilities 3.12.5 release |
michael@0 | 213 | ;+ global: |
michael@0 | 214 | NSS_SecureMemcmp; |
michael@0 | 215 | PORT_LoadLibraryFromOrigin; |
michael@0 | 216 | ;+ local: |
michael@0 | 217 | ;+ *; |
michael@0 | 218 | ;+}; |
michael@0 | 219 | ;+NSSUTIL_3.12.7 { # NSS Utilities 3.12.7 release |
michael@0 | 220 | ;+ global: |
michael@0 | 221 | PORT_RegExpSearch; |
michael@0 | 222 | ;+ local: |
michael@0 | 223 | ;+ *; |
michael@0 | 224 | ;+}; |
michael@0 | 225 | ;+NSSUTIL_3.13 { # NSS Utilities 3.13 release |
michael@0 | 226 | ;+ global: |
michael@0 | 227 | NSSUTIL_GetVersion; |
michael@0 | 228 | NSS_InitializePRErrorTable; |
michael@0 | 229 | ;+ local: |
michael@0 | 230 | ;+ *; |
michael@0 | 231 | ;+}; |
michael@0 | 232 | ;+NSSUTIL_3.14 { # NSS Utilities 3.14 release |
michael@0 | 233 | ;+ global: |
michael@0 | 234 | ;+# private exports for softoken |
michael@0 | 235 | _NSSUTIL_GetSecmodName; |
michael@0 | 236 | _NSSUTIL_EvaluateConfigDir; |
michael@0 | 237 | ;+# public exports |
michael@0 | 238 | NSSUTIL_ArgDecodeNumber; |
michael@0 | 239 | NSSUTIL_ArgFetchValue; |
michael@0 | 240 | NSSUTIL_ArgGetParamValue; |
michael@0 | 241 | NSSUTIL_ArgGetLabel; |
michael@0 | 242 | NSSUTIL_ArgHasFlag; |
michael@0 | 243 | NSSUTIL_ArgIsBlank; |
michael@0 | 244 | NSSUTIL_ArgParseCipherFlags; |
michael@0 | 245 | NSSUTIL_ArgParseModuleSpec; |
michael@0 | 246 | NSSUTIL_ArgParseSlotFlags; |
michael@0 | 247 | NSSUTIL_ArgParseSlotInfo; |
michael@0 | 248 | NSSUTIL_ArgReadLong; |
michael@0 | 249 | NSSUTIL_ArgSkipParameter; |
michael@0 | 250 | NSSUTIL_ArgStrip; |
michael@0 | 251 | NSSUTIL_DoModuleDBFunction; |
michael@0 | 252 | NSSUTIL_DoubleEscape; |
michael@0 | 253 | NSSUTIL_DoubleEscapeSize; |
michael@0 | 254 | NSSUTIL_Escape; |
michael@0 | 255 | NSSUTIL_EscapeSize; |
michael@0 | 256 | NSSUTIL_MkModuleSpec; |
michael@0 | 257 | NSSUTIL_MkNSSString; |
michael@0 | 258 | NSSUTIL_MkSlotString; |
michael@0 | 259 | NSSUTIL_Quote; |
michael@0 | 260 | NSSUTIL_QuoteSize; |
michael@0 | 261 | ;+ local: |
michael@0 | 262 | ;+ *; |
michael@0 | 263 | ;+}; |
michael@0 | 264 | ;+NSSUTIL_3.15 { # NSS Utilities 3.15 release |
michael@0 | 265 | ;+ global: |
michael@0 | 266 | SECITEM_AllocArray; |
michael@0 | 267 | SECITEM_DupArray; |
michael@0 | 268 | SECITEM_FreeArray; |
michael@0 | 269 | SECITEM_ReallocItemV2; |
michael@0 | 270 | SECITEM_ZfreeArray; |
michael@0 | 271 | ;+ local: |
michael@0 | 272 | ;+ *; |
michael@0 | 273 | ;+}; |
michael@0 | 274 | ;+NSSUTIL_3.17.1 { # NSS Utilities 3.17.1 release |
michael@0 | 275 | ;+ global: |
michael@0 | 276 | _SGN_VerifyPKCS1DigestInfo; |
michael@0 | 277 | ;+ local: |
michael@0 | 278 | ;+ *; |
michael@0 | 279 | ;+}; |