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_GetHashOidTagByHashType
182 HASH_GetHashTypeByOidTag
185 HASH_ResultLenByOidTag
187 NSSBase64_EncodeItem_Util
188 NSS_CMSContentInfo_GetContent
189 NSS_CMSContentInfo_GetContentTypeTag
190 NSS_CMSContentInfo_SetContent_SignedData
191 NSS_CMSEncoder_Finish
193 NSS_CMSMessage_ContentLevel
194 NSS_CMSMessage_Create
195 NSS_CMSMessage_CreateFromDER
196 NSS_CMSMessage_Destroy
197 NSS_CMSMessage_GetContentInfo
198 NSS_CMSMessage_IsSigned
199 NSS_CMSSignedData_AddCertificate
200 NSS_CMSSignedData_CreateCertsOnly
201 NSS_CMSSignedData_Destroy
202 NSS_CMSSignedData_GetSignerInfo
203 NSS_CMSSignedData_SignerInfoCount
204 NSS_CMSSignerInfo_GetSigningCertificate
205 NSS_CMSSignerInfo_Verify
207 NSS_GetAlgorithmPolicy
208 NSS_Get_CERT_CertificateRequestTemplate
209 NSS_Get_CERT_CertificateTemplate
210 NSS_Get_CERT_CrlTemplate
211 NSS_Get_CERT_NameTemplate
212 NSS_Get_CERT_SequenceOfCertExtensionTemplate
213 NSS_Get_CERT_SignedCrlTemplate
214 NSS_Get_CERT_SignedDataTemplate
215 NSS_Get_CERT_SubjectPublicKeyInfoTemplate
216 NSS_Get_CERT_TimeChoiceTemplate
217 NSS_Get_SEC_AnyTemplate_Util
218 NSS_Get_SEC_BitStringTemplate
219 NSS_Get_SEC_BitStringTemplate_Util
220 NSS_Get_SEC_BMPStringTemplate
221 NSS_Get_SEC_BooleanTemplate_Util
222 NSS_Get_SEC_GeneralizedTimeTemplate_Util
223 NSS_Get_SEC_IA5StringTemplate
224 NSS_Get_SEC_IA5StringTemplate_Util
225 NSS_Get_SEC_IntegerTemplate
226 NSS_Get_SEC_IntegerTemplate_Util
227 NSS_Get_SECKEY_RSAPSSParamsTemplate
228 NSS_Get_SECKEY_EncryptedPrivateKeyInfoTemplate
229 NSS_Get_SEC_NullTemplate_Util
230 NSS_Get_SEC_ObjectIDTemplate_Util
231 NSS_Get_SEC_OctetStringTemplate
232 NSS_Get_SEC_OctetStringTemplate_Util
233 NSS_Get_SECOID_AlgorithmIDTemplate
234 NSS_Get_SECOID_AlgorithmIDTemplate_Util
235 NSS_Get_SEC_SignedCertificateTemplate
236 NSS_Get_SEC_UTF8StringTemplate
237 NSS_Get_SEC_UTF8StringTemplate_Util
249 NSS_SetAlgorithmPolicy
250 NSS_SetDomesticPolicy
254 NSS_SMIMESignerInfo_SaveSMIMEProfile
255 NSS_SMIMEUtil_FindBulkAlgForRecipients
260 NSSUTIL_AddNSSFlagToModuleSpec
261 NSSUTIL_ArgDecodeNumber
262 NSSUTIL_ArgFetchValue
264 NSSUTIL_ArgGetParamValue
267 NSSUTIL_ArgParseCipherFlags
268 NSSUTIL_ArgParseModuleSpec
269 NSSUTIL_ArgParseSlotFlags
270 NSSUTIL_ArgParseSlotInfo
272 NSSUTIL_ArgSkipParameter
274 NSSUTIL_DoModuleDBFunction
275 _NSSUTIL_EvaluateConfigDir
276 _NSSUTIL_GetSecmodName
286 PK11_AlgtagToMechanism
289 PK11_CheckUserPassword
292 PK11_ConvertSessionSymKeyToTokenSymKey
293 PK11_CreateContextBySymKey
294 PK11_CreateDigestContext
295 PK11_CreateGenericObject
297 PK11_CreatePBEV2AlgorithmID
299 PK11_DeleteTokenCertAndKey
300 PK11_DeleteTokenPrivateKey
301 PK11_DeleteTokenPublicKey
302 PK11_DeleteTokenSymKey
303 PK11_DEREncodePublicKey
306 PK11_DeriveWithTemplate
308 PK11_DestroyGenericObject
311 PK11_DestroyTokenObject
317 PK11_ExportDERPrivateKeyInfo
318 PK11_ExportEncryptedPrivKeyInfo
320 PK11_FindCertFromNickname
322 PK11_FindCertsFromEmailAddress
323 PK11_FindCertsFromNickname
324 PK11_FindEncodedCertInSlot
325 PK11_FindKeyByAnyCert
326 PK11_FindKeyByDERCert
328 PK11_FindRawCertsWithSubject
330 PK11_FindSlotsByNames
333 PK11_FreeSlotListElement
336 PK11_GenerateKeyPairWithFlags
337 PK11_GenerateKeyPairWithOpFlags
339 PK11_GenerateRandomOnSlot
340 PK11_GetAllSlotsForCert
343 PK11_GetBestSlotMultiple
345 PK11_GetCertFromPrivateKey
346 PK11_GetCertsMatchingPrivateKey
349 PK11_GetDisabledReason
351 PK11_GetInternalKeySlot
356 PK11_GetLowLevelKeyIDForPrivateKey
363 PK11_GetPrivateKeyNickname
364 PK11_GetPrivateModulusLen
365 PK11_GetSlotFromPrivateKey
370 PK11_GetSymKeyNickname
377 PK11_HPKE_DestroyContext
378 PK11_HPKE_Deserialize
379 PK11_HPKE_ExportSecret
380 PK11_HPKE_GetEncapPubKey
387 PK11_HPKE_ValidateParameters
389 PK11_ImportCertForKey
392 PK11_ImportDERPrivateKeyInfoAndReturnKey
393 PK11_ImportEncryptedPrivateKeyInfoAndReturnKey
402 PK11_IsInternalKeySlot
407 PK11_KeyForCertExists
409 PK11_KeyGenWithTemplate
412 PK11_ListFixedKeysInSlot
413 PK11_ListPrivateKeysInSlot
414 PK11_ListPrivKeysInSlot
418 PK11_MakeIDFromPubKey
420 PK11_MechanismToAlgtag
427 PK11_PrivDecryptPKCS1
428 PK11_ProtectedAuthenticationPath
429 PK11_PubDeriveWithKDF
435 PK11_ReadRawAttribute
442 PK11_SetSymKeyNickname
445 PK11_SignWithMechanism
446 PK11_TokenKeyGenWithFlags
449 PK11_UpdateSlotAttribute
453 PK11_VerifyWithMechanism
462 PORT_ArenaRelease_Util
464 PORT_ArenaStrdup_Util
465 PORT_ArenaUnmark_Util
467 PORT_ArenaZAlloc_Util
468 PORT_DestroyCheapArena
482 PORT_SetUCS2_ASCIIConversionFunction
483 PORT_SetUCS2_ASCIIConversionFunction_Util
486 PORT_UCS2_ASCIIConversion_Util
487 PORT_UCS2_UTF8Conversion
488 PORT_UCS2_UTF8Conversion_Util
492 SEC_AnyTemplate_Util @DATA@
494 SEC_ASN1DecodeInteger
496 SEC_ASN1DecodeItem_Util
498 SEC_ASN1EncodeInteger_Util
500 SEC_ASN1EncodeItem_Util
501 SEC_ASN1EncodeUnsignedInteger_Util
503 SEC_BitStringTemplate @DATA@
504 SEC_BitStringTemplate_Util @DATA@
505 SEC_BMPStringTemplate @DATA@
506 SEC_BooleanTemplate_Util @DATA@
507 SEC_CertNicknameConflict
508 SEC_DeletePermCertificate
511 SEC_GeneralizedTimeTemplate_Util @DATA@
512 SEC_GetSignatureAlgorithmOidTag
513 SEC_IA5StringTemplate @DATA@
514 SEC_IA5StringTemplate_Util @DATA@
515 SEC_IntegerTemplate @DATA@
516 SEC_IntegerTemplate_Util @DATA@
519 SECITEM_AllocItem_Util
520 SECITEM_ArenaDupItem_Util
521 SECITEM_CompareItem_Util
523 SECITEM_CopyItem_Util
528 SECITEM_FreeItem_Util
530 SECITEM_ItemsAreEqual
531 SECITEM_ItemsAreEqual_Util
532 SECITEM_ReallocItemV2
534 SECITEM_ZfreeItem_Util
535 SECKEY_ConvertToPublicKey
536 SECKEY_CopyPrivateKey
538 SECKEY_CopySubjectPublicKeyInfo
539 SECKEY_CreateSubjectPublicKeyInfo
540 SECKEY_DecodeDERSubjectPublicKeyInfo
541 SECKEY_DestroyEncryptedPrivateKeyInfo
542 SECKEY_DestroyPrivateKey
543 SECKEY_DestroyPrivateKeyList
544 SECKEY_DestroyPublicKey
545 SECKEY_DestroySubjectPublicKeyInfo
546 SECKEY_ECParamsToBasePointOrderLen
547 SECKEY_ECParamsToKeySize
548 SECKEY_EncodeDERSubjectPublicKeyInfo
549 SECKEY_EncryptedPrivateKeyInfoTemplate @DATA@
550 SECKEY_ExtractPublicKey
551 SECKEY_GetPublicKeyType
552 SECKEY_ImportDERPublicKey
553 SECKEY_PublicKeyStrength
554 SECKEY_RSAPSSParamsTemplate @DATA@
556 SECMIME_DecryptionAllowed
558 SECMOD_AddNewModuleEx
560 SECMOD_CanDeleteInternalModule
563 SECMOD_DeleteInternalModule
567 SECMOD_GetDeadModuleList
568 SECMOD_GetDefaultModuleList
569 SECMOD_GetDefaultModuleListLock
570 SECMOD_GetInternalModule
571 SECMOD_GetModuleSpecList
573 SECMOD_InternaltoPubMechFlags
575 SECMOD_LoadUserModule
576 SECMOD_LockedModuleHasRemovableSlots
578 SECMOD_PubCipherFlagstoInternal
579 SECMOD_PubMechFlagstoInternal
580 SECMOD_ReferenceModule
581 SECMOD_ReleaseReadLock
582 SECMOD_UnloadUserModule
584 SECMOD_UpdateSlotList
585 SECMOD_WaitForAnyTokenEvent
586 SEC_NullTemplate_Util @DATA@
587 SEC_ObjectIDTemplate_Util @DATA@
588 SEC_OctetStringTemplate @DATA@
589 SEC_OctetStringTemplate_Util @DATA@
592 SECOID_AlgorithmIDTemplate @DATA@
593 SECOID_AlgorithmIDTemplate_Util @DATA@
594 SECOID_CopyAlgorithmID_Util
595 SECOID_DestroyAlgorithmID
596 SECOID_DestroyAlgorithmID_Util
598 SECOID_FindOIDByMechanism
600 SECOID_FindOIDByTag_Util
602 SECOID_FindOIDTagDescription_Util
603 SECOID_FindOIDTag_Util
605 SECOID_GetAlgorithmTag
606 SECOID_GetAlgorithmTag_Util
608 SECOID_SetAlgorithmID
609 SECOID_SetAlgorithmID_Util
611 SEC_PKCS12AddCertAndKey
612 SEC_PKCS12AddPasswordIntegrity
613 SEC_PKCS12CreateExportContext
614 SEC_PKCS12CreatePasswordPrivSafe
615 SEC_PKCS12CreateUnencryptedSafe
616 SEC_PKCS12DecoderFinish
617 SEC_PKCS12DecoderImportBags
618 SEC_PKCS12DecoderIterateInit
619 SEC_PKCS12DecoderIterateNext
620 SEC_PKCS12DecoderRenameCertNicknames
621 SEC_PKCS12DecoderStart
622 SEC_PKCS12DecoderUpdate
623 SEC_PKCS12DecoderValidateBags
624 SEC_PKCS12DecoderVerify
625 SEC_PKCS12DestroyExportContext
626 SEC_PKCS12EnableCipher
628 SEC_PKCS12IsEncryptionAllowed
629 SEC_PKCS12SetPreferredCipher
630 SEC_PKCS5GetPBEAlgorithm
631 SEC_PKCS5IsAlgorithmPBEAlgTag
632 SEC_PKCS7AddSigningTime
633 SEC_PKCS7ContentIsEncrypted
634 SEC_PKCS7ContentIsSigned
635 SEC_PKCS7CopyContentInfo
636 SEC_PKCS7CreateSignedData
638 SEC_PKCS7DecoderFinish
639 SEC_PKCS7DecoderStart
640 SEC_PKCS7DecoderUpdate
641 SEC_PKCS7DestroyContentInfo
643 SEC_PKCS7IncludeCertChain
644 SEC_PKCS7VerifyDetachedSignature
645 SEC_QuickDERDecodeItem
646 SEC_QuickDERDecodeItem_Util
647 SEC_RegisterDefaultHttpClient
649 SEC_SignedCertificateTemplate @DATA@
651 SEC_UTF8StringTemplate @DATA@
652 SEC_UTF8StringTemplate_Util @DATA@
655 SGN_CreateDigestInfo_Util
658 SGN_DestroyDigestInfo
659 SGN_DestroyDigestInfo_Util
663 SSL_AlertSentCallback
664 SSL_AuthCertificateComplete
665 SSL_AuthCertificateHook
668 SSL_CipherPrefSetDefault
669 SSL_ClearSessionCache
670 SSL_ClientCertCallbackComplete
671 SSL_ConfigSecureServer
672 SSL_ConfigSecureServerWithCertChain
674 SSL_ConfigServerSessionIDCache
675 SSL_ExportKeyingMaterial
678 SSL_GetCipherSuiteInfo
679 SSL_GetClientAuthDataHook
680 SSL_GetExperimentalAPI
681 SSL_GetImplementedCiphers
683 SSL_GetNumImplementedCiphers
684 SSL_GetPreliminaryChannelInfo
687 SSL_HandshakeCallback
688 SSL_HandshakeNegotiatedExtension
689 SSL_ImplementedCiphers @DATA@
692 SSL_NumImplementedCiphers @DATA@
698 SSL_PeerCertificateChain
699 SSL_PeerSignedCertTimestamps
700 SSL_PeerStapledOCSPResponses
702 SSL_SendAdditionalKeyShares
703 SSL_SetCanFalseStartCallback
704 SSL_SetDowngradeCheckVersion
709 SSL_SetStapledOCSPResponses
712 SSL_ShutdownServerSessionIDCache
713 SSL_SignatureSchemePrefSet
714 SSL_SNISocketConfigHook
716 SSL_VersionRangeGetDefault
717 SSL_VersionRangeGetSupported
719 SSL_VersionRangeSetDefault
728 VFY_VerifyDataWithAlgorithmID
729 VFY_VerifyDigestDirect
730 _SGN_VerifyPKCS1DigestInfo
731 __PK11_SetCertificateNickname
732 # These symbols are not used by Firefox but are used across NSS library boundaries.
735 PORT_ZAllocAlignedOffset_Util
736 CERT_FindCertByNicknameOrEmailAddrCX
737 SECKEY_GetPrivateKeyType
738 SEC_DerSignDataWithAlgorithmID
739 SEC_CreateSignatureAlgorithmParameters
740 # These symbols are not used by Firefox itself, but are used by Java's security
741 # libraries, which in turn are used by Java applets/plugins/etc. Provide them
742 # to make Java code happy.
745 #ifdef NSS_EXTRA_SYMBOLS_FILE
746 #include @NSS_EXTRA_SYMBOLS_FILE@