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
119 CERT_GetConstrainedCertificateNames
121 CERT_GetDefaultCertDB
122 CERT_GetFirstEmailAddress
123 CERT_GetGeneralNameTypeFromString
124 CERT_GetImposedNameConstraints
126 CERT_GetNextEmailAddress
127 CERT_GetNextGeneralName
128 CERT_GetNextNameConstraint
129 CERT_GetOCSPAuthorityInfoAccessLocation
140 CERT_NameTemplate @DATA@
143 CERT_NewTempCertificate
144 CERT_NicknameStringsFromCertList
145 CERT_OCSPCacheSettings
146 CERT_RemoveCertListNode
147 CERT_RFC1485_EscapeAndQuote
148 CERT_SaveSMimeProfile
149 CERT_SequenceOfCertExtensionTemplate @DATA@
150 CERT_SetOCSPFailureMode
152 CERT_SignedCrlTemplate @DATA@
153 CERT_SignedDataTemplate @DATA@
154 CERT_StartCertExtensions
155 CERT_StartCertificateRequestAttributes
156 CERT_SubjectPublicKeyInfoTemplate @DATA@
157 CERT_TimeChoiceTemplate @DATA@
158 CERT_VerifyCertificate
159 CERT_VerifySignedDataWithPublicKeyInfo
162 DER_DecodeTimeChoice_Util
164 DER_EncodeTimeChoice_Util
166 DER_GeneralizedTimeToTime
167 DER_GeneralizedTimeToTime_Util
171 DER_UTCTimeToTime_Util
172 DSAU_DecodeDerSigToLen
173 DSAU_EncodeDerSigWithLen
174 DTLS_GetHandshakeTimeout
181 HASH_GetHashOidTagByHMACOidTag
182 HASH_GetHashOidTagByHMACOidTag_Util
183 HASH_GetHashOidTagByHashType
184 HASH_GetHashTypeByOidTag
185 HASH_GetHashTypeByOidTag_Util
188 HASH_ResultLenByOidTag
190 NSSBase64_EncodeItem_Util
191 NSS_CMSContentInfo_GetContent
192 NSS_CMSContentInfo_GetContentTypeTag
193 NSS_CMSContentInfo_SetContent_SignedData
194 NSS_CMSEncoder_Finish
196 NSS_CMSMessage_ContentLevel
197 NSS_CMSMessage_Create
198 NSS_CMSMessage_CreateFromDER
199 NSS_CMSMessage_Destroy
200 NSS_CMSMessage_GetContentInfo
201 NSS_CMSMessage_IsSigned
202 NSS_CMSSignedData_AddCertificate
203 NSS_CMSSignedData_CreateCertsOnly
204 NSS_CMSSignedData_Destroy
205 NSS_CMSSignedData_GetSignerInfo
206 NSS_CMSSignedData_SignerInfoCount
207 NSS_CMSSignerInfo_GetSigningCertificate
208 NSS_CMSSignerInfo_Verify
210 NSS_GetAlgorithmPolicy
211 NSS_Get_CERT_CertificateRequestTemplate
212 NSS_Get_CERT_CertificateTemplate
213 NSS_Get_CERT_CrlTemplate
214 NSS_Get_CERT_NameTemplate
215 NSS_Get_CERT_SequenceOfCertExtensionTemplate
216 NSS_Get_CERT_SignedCrlTemplate
217 NSS_Get_CERT_SignedDataTemplate
218 NSS_Get_CERT_SubjectPublicKeyInfoTemplate
219 NSS_Get_CERT_TimeChoiceTemplate
220 NSS_Get_SEC_AnyTemplate_Util
221 NSS_Get_SEC_BitStringTemplate
222 NSS_Get_SEC_BitStringTemplate_Util
223 NSS_Get_SEC_BMPStringTemplate
224 NSS_Get_SEC_BooleanTemplate_Util
225 NSS_Get_SEC_GeneralizedTimeTemplate_Util
226 NSS_Get_SEC_IA5StringTemplate
227 NSS_Get_SEC_IA5StringTemplate_Util
228 NSS_Get_SEC_IntegerTemplate
229 NSS_Get_SEC_IntegerTemplate_Util
230 NSS_Get_SECKEY_RSAPSSParamsTemplate
231 NSS_Get_SECKEY_EncryptedPrivateKeyInfoTemplate
232 NSS_Get_SEC_NullTemplate_Util
233 NSS_Get_SEC_ObjectIDTemplate_Util
234 NSS_Get_SEC_OctetStringTemplate
235 NSS_Get_SEC_OctetStringTemplate_Util
236 NSS_Get_SECOID_AlgorithmIDTemplate
237 NSS_Get_SECOID_AlgorithmIDTemplate_Util
238 NSS_Get_SEC_SignedCertificateTemplate
239 NSS_Get_SEC_UTF8StringTemplate
240 NSS_Get_SEC_UTF8StringTemplate_Util
252 NSS_SetAlgorithmPolicy
253 NSS_SetDomesticPolicy
257 NSS_SMIMESignerInfo_SaveSMIMEProfile
258 NSS_SMIMEUtil_FindBulkAlgForRecipients
263 NSSUTIL_AddNSSFlagToModuleSpec
264 NSSUTIL_ArgDecodeNumber
265 NSSUTIL_ArgFetchValue
267 NSSUTIL_ArgGetParamValue
270 NSSUTIL_ArgParseCipherFlags
271 NSSUTIL_ArgParseModuleSpec
272 NSSUTIL_ArgParseSlotFlags
273 NSSUTIL_ArgParseSlotInfo
275 NSSUTIL_ArgSkipParameter
277 NSSUTIL_DoModuleDBFunction
278 _NSSUTIL_EvaluateConfigDir
279 _NSSUTIL_GetSecmodName
289 PK11_AlgtagToMechanism
292 PK11_CheckUserPassword
295 PK11_ConvertSessionSymKeyToTokenSymKey
296 PK11_CreateContextBySymKey
297 PK11_CreateDigestContext
298 PK11_CreateGenericObject
300 PK11_CreatePBEV2AlgorithmID
302 PK11_DeleteTokenCertAndKey
303 PK11_DeleteTokenPrivateKey
304 PK11_DeleteTokenPublicKey
305 PK11_DeleteTokenSymKey
306 PK11_DEREncodePublicKey
309 PK11_DeriveWithTemplate
311 PK11_DestroyGenericObject
312 PK11_DestroyGenericObjects
315 PK11_DestroyTokenObject
321 PK11_ExportDERPrivateKeyInfo
322 PK11_ExportEncryptedPrivKeyInfo
324 PK11_FindCertFromNickname
326 PK11_FindCertsFromEmailAddress
327 PK11_FindCertsFromNickname
328 PK11_FindEncodedCertInSlot
329 PK11_FindGenericObjects
330 PK11_FindKeyByAnyCert
331 PK11_FindKeyByDERCert
333 PK11_FindRawCertsWithSubject
335 PK11_FindSlotsByNames
338 PK11_FreeSlotListElement
341 PK11_GenerateKeyPairWithFlags
342 PK11_GenerateKeyPairWithOpFlags
344 PK11_GenerateRandomOnSlot
345 PK11_GetAllSlotsForCert
348 PK11_GetBestSlotMultiple
350 PK11_GetCertFromPrivateKey
351 PK11_GetCertsMatchingPrivateKey
354 PK11_GetDisabledReason
356 PK11_GetInternalKeySlot
361 PK11_GetLowLevelKeyIDForPrivateKey
365 PK11_GetNextGenericObject
369 PK11_GetPrivateKeyNickname
370 PK11_GetPrivateModulusLen
371 PK11_GetSlotFromPrivateKey
376 PK11_GetSymKeyNickname
383 PK11_HPKE_DestroyContext
384 PK11_HPKE_Deserialize
385 PK11_HPKE_ExportSecret
386 PK11_HPKE_GetEncapPubKey
393 PK11_HPKE_ValidateParameters
395 PK11_ImportCertForKey
398 PK11_ImportDERPrivateKeyInfoAndReturnKey
399 PK11_ImportEncryptedPrivateKeyInfoAndReturnKey
408 PK11_IsInternalKeySlot
413 PK11_KeyForCertExists
415 PK11_KeyGenWithTemplate
418 PK11_ListFixedKeysInSlot
419 PK11_ListPrivateKeysInSlot
420 PK11_ListPrivKeysInSlot
424 PK11_MakeIDFromPubKey
426 PK11_MechanismToAlgtag
433 PK11_PrivDecryptPKCS1
434 PK11_ProtectedAuthenticationPath
435 PK11_PubDeriveWithKDF
441 PK11_ReadDistrustAfterAttribute
442 PK11_ReadRawAttribute
449 PK11_SetSymKeyNickname
452 PK11_SignWithMechanism
453 PK11_TokenKeyGenWithFlags
456 PK11_UpdateSlotAttribute
460 PK11_VerifyWithMechanism
469 PORT_ArenaRelease_Util
471 PORT_ArenaStrdup_Util
472 PORT_ArenaUnmark_Util
474 PORT_ArenaZAlloc_Util
475 PORT_DestroyCheapArena
489 PORT_SetUCS2_ASCIIConversionFunction
490 PORT_SetUCS2_ASCIIConversionFunction_Util
493 PORT_UCS2_ASCIIConversion_Util
494 PORT_UCS2_UTF8Conversion
495 PORT_UCS2_UTF8Conversion_Util
499 SEC_AnyTemplate_Util @DATA@
501 SEC_ASN1DecodeInteger
503 SEC_ASN1DecodeItem_Util
505 SEC_ASN1EncodeInteger_Util
507 SEC_ASN1EncodeItem_Util
508 SEC_ASN1EncodeUnsignedInteger_Util
510 SEC_BitStringTemplate @DATA@
511 SEC_BitStringTemplate_Util @DATA@
512 SEC_BMPStringTemplate @DATA@
513 SEC_BooleanTemplate_Util @DATA@
514 SEC_CertNicknameConflict
515 SEC_DeletePermCertificate
518 SEC_GeneralizedTimeTemplate_Util @DATA@
519 SEC_GetSignatureAlgorithmOidTag
520 SEC_IA5StringTemplate @DATA@
521 SEC_IA5StringTemplate_Util @DATA@
522 SEC_IntegerTemplate @DATA@
523 SEC_IntegerTemplate_Util @DATA@
526 SECITEM_AllocItem_Util
527 SECITEM_ArenaDupItem_Util
528 SECITEM_CompareItem_Util
530 SECITEM_CopyItem_Util
536 SECITEM_FreeItem_Util
538 SECITEM_ItemsAreEqual
539 SECITEM_ItemsAreEqual_Util
540 SECITEM_ReallocItemV2
542 SECITEM_ZfreeItem_Util
543 SECKEY_ConvertToPublicKey
544 SECKEY_CopyPrivateKey
546 SECKEY_CopySubjectPublicKeyInfo
547 SECKEY_CreateSubjectPublicKeyInfo
548 SECKEY_DecodeDERSubjectPublicKeyInfo
549 SECKEY_DestroyEncryptedPrivateKeyInfo
550 SECKEY_DestroyPrivateKey
551 SECKEY_DestroyPrivateKeyList
552 SECKEY_DestroyPublicKey
553 SECKEY_DestroySubjectPublicKeyInfo
554 SECKEY_ECParamsToBasePointOrderLen
555 SECKEY_ECParamsToKeySize
556 SECKEY_EncodeDERSubjectPublicKeyInfo
557 SECKEY_EncryptedPrivateKeyInfoTemplate @DATA@
558 SECKEY_ExtractPublicKey
559 SECKEY_GetPublicKeyType
560 SECKEY_ImportDERPublicKey
561 SECKEY_PublicKeyStrength
562 SECKEY_RSAPSSParamsTemplate @DATA@
564 SECMIME_DecryptionAllowed
566 SECMOD_AddNewModuleEx
568 SECMOD_CanDeleteInternalModule
571 SECMOD_DeleteInternalModule
575 SECMOD_GetDeadModuleList
576 SECMOD_GetDefaultModuleList
577 SECMOD_GetDefaultModuleListLock
578 SECMOD_GetInternalModule
579 SECMOD_GetModuleSpecList
581 SECMOD_InternaltoPubMechFlags
583 SECMOD_LoadUserModule
584 SECMOD_LockedModuleHasRemovableSlots
586 SECMOD_PubCipherFlagstoInternal
587 SECMOD_PubMechFlagstoInternal
588 SECMOD_ReferenceModule
589 SECMOD_ReleaseReadLock
590 SECMOD_UnloadUserModule
592 SECMOD_UpdateSlotList
593 SECMOD_WaitForAnyTokenEvent
594 SEC_NullTemplate_Util @DATA@
595 SEC_ObjectIDTemplate_Util @DATA@
596 SEC_OctetStringTemplate @DATA@
597 SEC_OctetStringTemplate_Util @DATA@
600 SECOID_AlgorithmIDTemplate @DATA@
601 SECOID_AlgorithmIDTemplate_Util @DATA@
602 SECOID_CopyAlgorithmID_Util
603 SECOID_DestroyAlgorithmID
604 SECOID_DestroyAlgorithmID_Util
606 SECOID_FindOIDByMechanism
608 SECOID_FindOIDByTag_Util
610 SECOID_FindOIDTagDescription_Util
611 SECOID_FindOIDTag_Util
613 SECOID_GetAlgorithmTag
614 SECOID_GetAlgorithmTag_Util
616 SECOID_SetAlgorithmID
617 SECOID_SetAlgorithmID_Util
619 SEC_PKCS12AddCertAndKey
620 SEC_PKCS12AddPasswordIntegrity
621 SEC_PKCS12CreateExportContext
622 SEC_PKCS12CreatePasswordPrivSafe
623 SEC_PKCS12CreateUnencryptedSafe
624 SEC_PKCS12DecoderFinish
625 SEC_PKCS12DecoderImportBags
626 SEC_PKCS12DecoderIterateInit
627 SEC_PKCS12DecoderIterateNext
628 SEC_PKCS12DecoderRenameCertNicknames
629 SEC_PKCS12DecoderStart
630 SEC_PKCS12DecoderUpdate
631 SEC_PKCS12DecoderValidateBags
632 SEC_PKCS12DecoderVerify
633 SEC_PKCS12DestroyExportContext
634 SEC_PKCS12EnableCipher
636 SEC_PKCS12IsEncryptionAllowed
637 SEC_PKCS12SetPreferredCipher
638 SEC_PKCS5GetPBEAlgorithm
639 SEC_PKCS5IsAlgorithmPBEAlgTag
640 SEC_PKCS7AddSigningTime
641 SEC_PKCS7ContentIsEncrypted
642 SEC_PKCS7ContentIsSigned
643 SEC_PKCS7CopyContentInfo
644 SEC_PKCS7CreateSignedData
646 SEC_PKCS7DecoderFinish
647 SEC_PKCS7DecoderStart
648 SEC_PKCS7DecoderUpdate
649 SEC_PKCS7DestroyContentInfo
651 SEC_PKCS7IncludeCertChain
652 SEC_PKCS7VerifyDetachedSignature
653 SEC_QuickDERDecodeItem
654 SEC_QuickDERDecodeItem_Util
655 SEC_RegisterDefaultHttpClient
657 SEC_SignedCertificateTemplate @DATA@
659 SEC_UTF8StringTemplate @DATA@
660 SEC_UTF8StringTemplate_Util @DATA@
663 SGN_CreateDigestInfo_Util
666 SGN_DestroyDigestInfo
667 SGN_DestroyDigestInfo_Util
671 SSL_AlertSentCallback
672 SSL_AuthCertificateComplete
673 SSL_AuthCertificateHook
676 SSL_CipherPrefSetDefault
677 SSL_ClearSessionCache
678 SSL_ClientCertCallbackComplete
679 SSL_ConfigSecureServer
680 SSL_ConfigSecureServerWithCertChain
682 SSL_ConfigServerSessionIDCache
683 SSL_ExportKeyingMaterial
686 SSL_GetCipherSuiteInfo
687 SSL_GetClientAuthDataHook
688 SSL_GetExperimentalAPI
689 SSL_GetImplementedCiphers
691 SSL_GetNumImplementedCiphers
692 SSL_GetPreliminaryChannelInfo
695 SSL_HandshakeCallback
696 SSL_HandshakeNegotiatedExtension
697 SSL_ImplementedCiphers @DATA@
700 SSL_NumImplementedCiphers @DATA@
706 SSL_PeerCertificateChain
707 SSL_PeerSignedCertTimestamps
708 SSL_PeerStapledOCSPResponses
710 SSL_SendAdditionalKeyShares
711 SSL_SetCanFalseStartCallback
712 SSL_SetDowngradeCheckVersion
717 SSL_SetStapledOCSPResponses
720 SSL_ShutdownServerSessionIDCache
721 SSL_SignatureSchemePrefSet
722 SSL_SNISocketConfigHook
724 SSL_VersionRangeGetDefault
725 SSL_VersionRangeGetSupported
727 SSL_VersionRangeSetDefault
736 VFY_VerifyDataWithAlgorithmID
737 VFY_VerifyDigestDirect
738 _SGN_VerifyPKCS1DigestInfo
739 __PK11_SetCertificateNickname
740 # These symbols are not used by Firefox but are used across NSS library boundaries.
743 PORT_ZAllocAlignedOffset_Util
744 CERT_FindCertByNicknameOrEmailAddrCX
745 SECKEY_GetPrivateKeyType
746 SEC_DerSignDataWithAlgorithmID
747 SEC_CreateSignatureAlgorithmParameters
748 # These symbols are not used by Firefox itself, but are used by Java's security
749 # libraries, which in turn are used by Java applets/plugins/etc. Provide them
750 # to make Java code happy.
753 #ifdef NSS_EXTRA_SYMBOLS_FILE
754 #include @NSS_EXTRA_SYMBOLS_FILE@