1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 # NSPR, unlike NSS, exports symbols with symbol visibility (Unix) or __declspec
7 # (Windows). When using a linker script, however, we need to explicitly
8 # specify that NSPR's symbols should be globally visible. Otherwise, NSPR's
9 # exported symbols would be hidden.
10 # .def files on Windows don't allow wildcards, of course, which is why this is
11 # excluded on Windows, but it doesn't matter because the symbols are already
12 # exported in NSPR (Windows peculiarity).
16 #include ../third_party/sqlite3/src/sqlite.symbols
19 ATOB_ConvertAsciiToItem_Util
20 BTOA_ConvertItemToAscii_Util
23 CERT_AddCertToListHead
24 CERT_AddCertToListTail
26 CERT_AddExtensionByOID
28 CERT_CacheOCSPResponseFromSideChannel
29 CERT_CertChainFromCert
30 CERT_CertificateRequestTemplate @DATA@
31 CERT_CertificateTemplate @DATA@
35 CERT_CheckCertValidTimes
40 CERT_ConvertAndDecodeCertificate
43 CERT_CreateCertificate
44 CERT_CreateCertificateRequest
45 CERT_CreateSubjectCertList
47 CERT_CrlTemplate @DATA@
48 CERT_DecodeAltNameExtension
49 CERT_DecodeAuthInfoAccessExtension
52 CERT_DecodeBasicConstraintValue
53 CERT_DecodeCertFromPackage
54 CERT_DecodeCertificatePoliciesExtension
55 CERT_DecodeCertPackage
56 CERT_DecodeCRLDistributionPoints
57 CERT_DecodeNameConstraintsExtension
58 CERT_DecodeOidSequence
59 CERT_DecodePrivKeyUsagePeriodExtension
60 CERT_DecodeTrustString
64 CERT_DestroyCertificate
65 CERT_DestroyCertificateList
66 CERT_DestroyCertificatePoliciesExtension
67 CERT_DestroyCertificateRequest
70 CERT_DestroyOidSequence
71 CERT_DestroyUserNotice
73 CERT_DisableOCSPChecking
74 CERT_DisableOCSPDefaultResponder
76 CERT_EnableOCSPChecking
77 CERT_EncodeAltNameExtension
78 CERT_EncodeAndAddBitStrExtension
80 CERT_EncodeBasicConstraintValue
81 CERT_EncodeCertPoliciesExtension
82 CERT_EncodeCRLDistributionPoints
83 CERT_EncodeInfoAccessExtension
84 CERT_EncodeInhibitAnyExtension
85 CERT_EncodeNameConstraintsExtension
86 CERT_EncodeNoticeReference
87 CERT_EncodePolicyConstraintsExtension
88 CERT_EncodePolicyMappingExtension
89 CERT_EncodeSubjectKeyID
92 CERT_FilterCertListByCANames
93 CERT_FilterCertListByUsage
94 CERT_FilterCertListForUserCerts
95 CERT_FindCertByDERCert
96 CERT_FindCertByIssuerAndSN
98 CERT_FindCertByNickname
99 CERT_FindCertByNicknameOrEmailAddr
100 CERT_FindCertExtension
102 CERT_FindKeyUsageExtension
103 CERT_FindUserCertByUsage
104 CERT_FindUserCertsByUsage
105 CERT_FinishCertificateRequestAttributes
106 CERT_FinishExtensions
107 CERT_ForcePostMethodForOCSP
109 CERT_GenTime2FormattedAscii_Util
110 CERT_GetCertChainFromCert
111 CERT_GetCertEmailAddress
112 CERT_GetCertificateDer
113 CERT_GetCertificateRequestExtensions
118 CERT_GetConstrainedCertificateNames
120 CERT_GetDefaultCertDB
121 CERT_GetFirstEmailAddress
122 CERT_GetGeneralNameTypeFromString
123 CERT_GetImposedNameConstraints
125 CERT_GetNextEmailAddress
126 CERT_GetNextGeneralName
127 CERT_GetNextNameConstraint
128 CERT_GetOCSPAuthorityInfoAccessLocation
139 CERT_NameTemplate @DATA@
142 CERT_NewTempCertificate
143 CERT_NicknameStringsFromCertList
144 CERT_OCSPCacheSettings
145 CERT_RemoveCertListNode
146 CERT_RFC1485_EscapeAndQuote
147 CERT_SaveSMimeProfile
148 CERT_SequenceOfCertExtensionTemplate @DATA@
149 CERT_SetOCSPFailureMode
151 CERT_SignedCrlTemplate @DATA@
152 CERT_SignedDataTemplate @DATA@
153 CERT_StartCertExtensions
154 CERT_StartCertificateRequestAttributes
155 CERT_SubjectPublicKeyInfoTemplate @DATA@
156 CERT_TimeChoiceTemplate @DATA@
157 CERT_VerifyCertificate
158 CERT_VerifySignedDataWithPublicKeyInfo
161 DER_DecodeTimeChoice_Util
163 DER_EncodeTimeChoice_Util
165 DER_GeneralizedTimeToTime
166 DER_GeneralizedTimeToTime_Util
170 DER_UTCTimeToTime_Util
171 DSAU_DecodeDerSigToLen
172 DSAU_EncodeDerSigWithLen
173 DTLS_GetHandshakeTimeout
180 HASH_GetHashOidTagByHashType
183 HASH_ResultLenByOidTag
185 NSSBase64_EncodeItem_Util
186 NSS_CMSContentInfo_GetContent
187 NSS_CMSContentInfo_GetContentTypeTag
188 NSS_CMSContentInfo_SetContent_SignedData
189 NSS_CMSEncoder_Finish
191 NSS_CMSMessage_ContentLevel
192 NSS_CMSMessage_Create
193 NSS_CMSMessage_CreateFromDER
194 NSS_CMSMessage_Destroy
195 NSS_CMSMessage_GetContentInfo
196 NSS_CMSMessage_IsSigned
197 NSS_CMSSignedData_AddCertificate
198 NSS_CMSSignedData_CreateCertsOnly
199 NSS_CMSSignedData_Destroy
200 NSS_CMSSignedData_GetSignerInfo
201 NSS_CMSSignedData_SignerInfoCount
202 NSS_CMSSignerInfo_GetSigningCertificate
203 NSS_CMSSignerInfo_Verify
205 NSS_GetAlgorithmPolicy
206 NSS_Get_CERT_CertificateRequestTemplate
207 NSS_Get_CERT_CertificateTemplate
208 NSS_Get_CERT_CrlTemplate
209 NSS_Get_CERT_NameTemplate
210 NSS_Get_CERT_SequenceOfCertExtensionTemplate
211 NSS_Get_CERT_SignedCrlTemplate
212 NSS_Get_CERT_SignedDataTemplate
213 NSS_Get_CERT_SubjectPublicKeyInfoTemplate
214 NSS_Get_CERT_TimeChoiceTemplate
215 NSS_Get_SEC_AnyTemplate_Util
216 NSS_Get_SEC_BitStringTemplate
217 NSS_Get_SEC_BitStringTemplate_Util
218 NSS_Get_SEC_BMPStringTemplate
219 NSS_Get_SEC_BooleanTemplate_Util
220 NSS_Get_SEC_GeneralizedTimeTemplate_Util
221 NSS_Get_SEC_IA5StringTemplate
222 NSS_Get_SEC_IA5StringTemplate_Util
223 NSS_Get_SEC_IntegerTemplate
224 NSS_Get_SEC_IntegerTemplate_Util
225 NSS_Get_SECKEY_RSAPSSParamsTemplate
226 NSS_Get_SECKEY_EncryptedPrivateKeyInfoTemplate
227 NSS_Get_SEC_NullTemplate_Util
228 NSS_Get_SEC_ObjectIDTemplate_Util
229 NSS_Get_SEC_OctetStringTemplate
230 NSS_Get_SEC_OctetStringTemplate_Util
231 NSS_Get_SECOID_AlgorithmIDTemplate
232 NSS_Get_SECOID_AlgorithmIDTemplate_Util
233 NSS_Get_SEC_SignedCertificateTemplate
234 NSS_Get_SEC_UTF8StringTemplate
235 NSS_Get_SEC_UTF8StringTemplate_Util
247 NSS_SetAlgorithmPolicy
248 NSS_SetDomesticPolicy
252 NSS_SMIMESignerInfo_SaveSMIMEProfile
253 NSS_SMIMEUtil_FindBulkAlgForRecipients
258 NSSUTIL_AddNSSFlagToModuleSpec
259 NSSUTIL_ArgDecodeNumber
260 NSSUTIL_ArgFetchValue
262 NSSUTIL_ArgGetParamValue
265 NSSUTIL_ArgParseCipherFlags
266 NSSUTIL_ArgParseModuleSpec
267 NSSUTIL_ArgParseSlotFlags
268 NSSUTIL_ArgParseSlotInfo
270 NSSUTIL_ArgSkipParameter
272 NSSUTIL_DoModuleDBFunction
273 _NSSUTIL_EvaluateConfigDir
274 _NSSUTIL_GetSecmodName
283 PK11_AlgtagToMechanism
286 PK11_CheckUserPassword
289 PK11_ConvertSessionSymKeyToTokenSymKey
290 PK11_CreateContextBySymKey
291 PK11_CreateDigestContext
292 PK11_CreateGenericObject
294 PK11_CreatePBEV2AlgorithmID
296 PK11_DeleteTokenCertAndKey
297 PK11_DeleteTokenPrivateKey
298 PK11_DeleteTokenPublicKey
299 PK11_DeleteTokenSymKey
300 PK11_DEREncodePublicKey
302 PK11_DeriveWithTemplate
304 PK11_DestroyGenericObject
307 PK11_DestroyTokenObject
313 PK11_ExportDERPrivateKeyInfo
314 PK11_ExportEncryptedPrivKeyInfo
316 PK11_FindCertFromNickname
318 PK11_FindCertsFromEmailAddress
319 PK11_FindCertsFromNickname
320 PK11_FindEncodedCertInSlot
321 PK11_FindKeyByAnyCert
322 PK11_FindKeyByDERCert
324 PK11_FindRawCertsWithSubject
326 PK11_FindSlotsByNames
329 PK11_FreeSlotListElement
332 PK11_GenerateKeyPairWithFlags
333 PK11_GenerateKeyPairWithOpFlags
335 PK11_GenerateRandomOnSlot
336 PK11_GetAllSlotsForCert
339 PK11_GetBestSlotMultiple
341 PK11_GetCertFromPrivateKey
342 PK11_GetCertsMatchingPrivateKey
345 PK11_GetDisabledReason
347 PK11_GetInternalKeySlot
352 PK11_GetLowLevelKeyIDForPrivateKey
359 PK11_GetPrivateKeyNickname
360 PK11_GetPrivateModulusLen
361 PK11_GetSlotFromPrivateKey
366 PK11_GetSymKeyNickname
374 PK11_ImportCertForKey
376 PK11_ImportDERPrivateKeyInfoAndReturnKey
377 PK11_ImportEncryptedPrivateKeyInfoAndReturnKey
386 PK11_IsInternalKeySlot
391 PK11_KeyForCertExists
393 PK11_KeyGenWithTemplate
396 PK11_ListFixedKeysInSlot
397 PK11_ListPrivateKeysInSlot
398 PK11_ListPrivKeysInSlot
402 PK11_MakeIDFromPubKey
404 PK11_MechanismToAlgtag
411 PK11_PrivDecryptPKCS1
412 PK11_ProtectedAuthenticationPath
413 PK11_PubDeriveWithKDF
419 PK11_ReadRawAttribute
426 PK11_SetSymKeyNickname
429 PK11_SignWithMechanism
430 PK11_TokenKeyGenWithFlags
433 PK11_UpdateSlotAttribute
437 PK11_VerifyWithMechanism
446 PORT_ArenaRelease_Util
448 PORT_ArenaStrdup_Util
449 PORT_ArenaUnmark_Util
451 PORT_ArenaZAlloc_Util
452 PORT_DestroyCheapArena
466 PORT_SetUCS2_ASCIIConversionFunction
467 PORT_SetUCS2_ASCIIConversionFunction_Util
470 PORT_UCS2_ASCIIConversion_Util
471 PORT_UCS2_UTF8Conversion
472 PORT_UCS2_UTF8Conversion_Util
476 SEC_AnyTemplate_Util @DATA@
478 SEC_ASN1DecodeInteger
480 SEC_ASN1DecodeItem_Util
482 SEC_ASN1EncodeInteger_Util
484 SEC_ASN1EncodeItem_Util
485 SEC_ASN1EncodeUnsignedInteger_Util
487 SEC_BitStringTemplate @DATA@
488 SEC_BitStringTemplate_Util @DATA@
489 SEC_BMPStringTemplate @DATA@
490 SEC_BooleanTemplate_Util @DATA@
491 SEC_CertNicknameConflict
492 SEC_DeletePermCertificate
495 SEC_GeneralizedTimeTemplate_Util @DATA@
496 SEC_GetSignatureAlgorithmOidTag
497 SEC_IA5StringTemplate @DATA@
498 SEC_IA5StringTemplate_Util @DATA@
499 SEC_IntegerTemplate @DATA@
500 SEC_IntegerTemplate_Util @DATA@
503 SECITEM_AllocItem_Util
504 SECITEM_ArenaDupItem_Util
505 SECITEM_CompareItem_Util
507 SECITEM_CopyItem_Util
512 SECITEM_FreeItem_Util
514 SECITEM_ItemsAreEqual
515 SECITEM_ItemsAreEqual_Util
516 SECITEM_ReallocItemV2
518 SECITEM_ZfreeItem_Util
519 SECKEY_ConvertToPublicKey
520 SECKEY_CopyPrivateKey
522 SECKEY_CopySubjectPublicKeyInfo
523 SECKEY_CreateSubjectPublicKeyInfo
524 SECKEY_DecodeDERSubjectPublicKeyInfo
525 SECKEY_DestroyEncryptedPrivateKeyInfo
526 SECKEY_DestroyPrivateKey
527 SECKEY_DestroyPrivateKeyList
528 SECKEY_DestroyPublicKey
529 SECKEY_DestroySubjectPublicKeyInfo
530 SECKEY_ECParamsToBasePointOrderLen
531 SECKEY_ECParamsToKeySize
532 SECKEY_EncodeDERSubjectPublicKeyInfo
533 SECKEY_ExtractPublicKey
534 SECKEY_GetPublicKeyType
535 SECKEY_ImportDERPublicKey
536 SECKEY_PublicKeyStrength
537 SECKEY_RSAPSSParamsTemplate @DATA@
539 SECMIME_DecryptionAllowed
541 SECMOD_AddNewModuleEx
543 SECMOD_CanDeleteInternalModule
546 SECMOD_DeleteInternalModule
550 SECMOD_GetDeadModuleList
551 SECMOD_GetDefaultModuleList
552 SECMOD_GetDefaultModuleListLock
553 SECMOD_GetInternalModule
554 SECMOD_GetModuleSpecList
556 SECMOD_HasRemovableSlots
557 SECMOD_InternaltoPubMechFlags
559 SECMOD_LoadUserModule
561 SECMOD_PubCipherFlagstoInternal
562 SECMOD_PubMechFlagstoInternal
563 SECMOD_ReferenceModule
564 SECMOD_ReleaseReadLock
565 SECMOD_UnloadUserModule
567 SECMOD_UpdateSlotList
568 SECMOD_WaitForAnyTokenEvent
569 SEC_NullTemplate_Util @DATA@
570 SEC_ObjectIDTemplate_Util @DATA@
571 SEC_OctetStringTemplate @DATA@
572 SEC_OctetStringTemplate_Util @DATA@
575 SECOID_AlgorithmIDTemplate @DATA@
576 SECOID_AlgorithmIDTemplate_Util @DATA@
577 SECOID_CopyAlgorithmID_Util
578 SECOID_DestroyAlgorithmID
579 SECOID_DestroyAlgorithmID_Util
581 SECOID_FindOIDByMechanism
583 SECOID_FindOIDByTag_Util
585 SECOID_FindOIDTagDescription_Util
586 SECOID_FindOIDTag_Util
588 SECOID_GetAlgorithmTag
589 SECOID_GetAlgorithmTag_Util
591 SECOID_SetAlgorithmID
592 SECOID_SetAlgorithmID_Util
594 SEC_PKCS12AddCertAndKey
595 SEC_PKCS12AddPasswordIntegrity
596 SEC_PKCS12CreateExportContext
597 SEC_PKCS12CreatePasswordPrivSafe
598 SEC_PKCS12CreateUnencryptedSafe
599 SEC_PKCS12DecoderFinish
600 SEC_PKCS12DecoderImportBags
601 SEC_PKCS12DecoderIterateInit
602 SEC_PKCS12DecoderIterateNext
603 SEC_PKCS12DecoderRenameCertNicknames
604 SEC_PKCS12DecoderStart
605 SEC_PKCS12DecoderUpdate
606 SEC_PKCS12DecoderValidateBags
607 SEC_PKCS12DecoderVerify
608 SEC_PKCS12DestroyExportContext
609 SEC_PKCS12EnableCipher
611 SEC_PKCS12IsEncryptionAllowed
612 SEC_PKCS12SetPreferredCipher
613 SEC_PKCS5GetPBEAlgorithm
614 SEC_PKCS5IsAlgorithmPBEAlgTag
615 SEC_PKCS7AddSigningTime
616 SEC_PKCS7ContentIsEncrypted
617 SEC_PKCS7ContentIsSigned
618 SEC_PKCS7CopyContentInfo
619 SEC_PKCS7CreateSignedData
621 SEC_PKCS7DecoderFinish
622 SEC_PKCS7DecoderStart
623 SEC_PKCS7DecoderUpdate
624 SEC_PKCS7DestroyContentInfo
626 SEC_PKCS7IncludeCertChain
627 SEC_PKCS7VerifyDetachedSignature
628 SEC_QuickDERDecodeItem
629 SEC_QuickDERDecodeItem_Util
630 SEC_RegisterDefaultHttpClient
632 SEC_SignedCertificateTemplate @DATA@
634 SEC_UTF8StringTemplate @DATA@
635 SEC_UTF8StringTemplate_Util @DATA@
638 SGN_CreateDigestInfo_Util
641 SGN_DestroyDigestInfo
642 SGN_DestroyDigestInfo_Util
646 SSL_AlertSentCallback
647 SSL_AuthCertificateComplete
648 SSL_AuthCertificateHook
651 SSL_CipherPrefSetDefault
652 SSL_ClearSessionCache
653 SSL_ConfigSecureServer
654 SSL_ConfigSecureServerWithCertChain
656 SSL_ConfigServerSessionIDCache
657 SSL_ExportKeyingMaterial
660 SSL_GetCipherSuiteInfo
661 SSL_GetClientAuthDataHook
662 SSL_GetExperimentalAPI
663 SSL_GetImplementedCiphers
665 SSL_GetNumImplementedCiphers
666 SSL_GetPreliminaryChannelInfo
669 SSL_HandshakeCallback
670 SSL_HandshakeNegotiatedExtension
671 SSL_ImplementedCiphers @DATA@
674 SSL_NumImplementedCiphers @DATA@
680 SSL_PeerCertificateChain
681 SSL_PeerSignedCertTimestamps
682 SSL_PeerStapledOCSPResponses
684 SSL_SendAdditionalKeyShares
685 SSL_SetCanFalseStartCallback
686 SSL_SetDowngradeCheckVersion
691 SSL_SetStapledOCSPResponses
694 SSL_ShutdownServerSessionIDCache
695 SSL_SignatureSchemePrefSet
696 SSL_SNISocketConfigHook
698 SSL_VersionRangeGetDefault
699 SSL_VersionRangeGetSupported
701 SSL_VersionRangeSetDefault
710 VFY_VerifyDataWithAlgorithmID
711 VFY_VerifyDigestDirect
712 _SGN_VerifyPKCS1DigestInfo
713 __PK11_SetCertificateNickname
714 # These symbols are not used by Firefox but are used across NSS library boundaries.
716 PORT_ZAllocAlignedOffset_Util
717 CERT_FindCertByNicknameOrEmailAddrCX
718 SECKEY_GetPrivateKeyType
719 SEC_DerSignDataWithAlgorithmID
720 SEC_CreateSignatureAlgorithmParameters
721 # These symbols are not used by Firefox itself, but are used by Java's security
722 # libraries, which in turn are used by Java applets/plugins/etc. Provide them
723 # to make Java code happy.
726 #ifdef NSS_EXTRA_SYMBOLS_FILE
727 #include @NSS_EXTRA_SYMBOLS_FILE@