diff --git a/security/nss/lib/nss/mapfile b/security/nss/lib/nss/mapfile new file mode 100644 index 000000000000..7e8c3baff7d6 --- /dev/null +++ b/security/nss/lib/nss/mapfile @@ -0,0 +1,1141 @@ +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is the Netscape security libraries. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 2000 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the +# terms of the GNU General Public License Version 2 or later (the +# "GPL"), in which case the provisions of the GPL are applicable +# instead of those above. If you wish to allow use of your +# version of this file only under the terms of the GPL and not to +# allow others to use your version of this file under the MPL, +# indicate your decision by deleting the provisions above and +# replace them with the notice and other provisions required by +# the GPL. If you do not delete the provisions above, a recipient +# may use your version of this file under either the MPL or the +# GPL. +# + +NSS_3.2 { # NSS 3.2 release + global: + ATOB_AsciiToData; + ATOB_ConvertAsciiToItem; + BTOA_ConvertItemToAscii; + BTOA_DataToAscii; + CERT_AddAVA; + CERT_AddCertToListSorted; + CERT_AddCertToListTail; + CERT_AddExtension; + CERT_AddExtensionByOID; + CERT_AddGeneralNameToList; + CERT_AddNameConstraint; + CERT_AddNewCerts; + CERT_AddOKDomainName; + CERT_AddPermNickname; + CERT_AddRDN; + CERT_AddTempCertToPerm; + CERT_AsciiToName; + CERT_CertChainFromCert; + CERT_CertExtensionTemplate; + CERT_CertKeyTemplate; + CERT_CertListFromCert; + CERT_CertTimesValid; + CERT_CertificatePoliciesTemplate; + CERT_CertificateRequestTemplate; + CERT_CertificateTemplate; + CERT_ChangeCertTrust; + CERT_ChangeCertTrustByUsage; + CERT_CheckCertUsage; + CERT_CheckCertValidTimes; + CERT_CheckForEvilCert; + CERT_CheckKeyUsage; + CERT_ClosePermCertDB; + CERT_CompareAVA; + CERT_CompareCerts; + CERT_CompareCertsForRedirection; + CERT_CompareGeneralName; + CERT_CompareGeneralNameLists; + CERT_CompareName; + CERT_CompareNameSpace; + CERT_CompareRDN; + CERT_CopyAVA; + CERT_CopyGeneralName; + CERT_CopyName; + CERT_CopyNameConstraint; + CERT_CopyRDN; + CERT_CopyValidity; + CERT_CreateAVA; + CERT_CreateEmailAddrCertList; + CERT_CreateGeneralNameList; + CERT_CreateName; + CERT_CreateNicknameCertList; + CERT_CreateRDN; + CERT_CreateSubjectCertList; + CERT_CreateValidity; + CERT_CrlTemplate; + CERT_DecodeAVAValue; + CERT_DecodeAltNameExtension; + CERT_DecodeAuthKeyID; + CERT_DecodeBasicConstraintValue; + CERT_DecodeCertificatePoliciesExtension; + CERT_DecodeDERCertificate; + CERT_DecodeDERCrl; + CERT_DecodeNameConstraintsExtension; + CERT_DecodeOidSequence; + CERT_DecodeTrustString; + CERT_DecodeUserNotice; + CERT_DeleteTempCertificate; + CERT_DerNameToAscii; + CERT_DestroyCertArray; + CERT_DestroyCertList; + CERT_DestroyCertificate; + CERT_DestroyCertificateList; + CERT_DestroyCertificatePoliciesExtension; + CERT_DestroyCrl; + CERT_DestroyGeneralName; + CERT_DestroyGeneralNameList; + CERT_DestroyName; + CERT_DestroyOidSequence; + CERT_DestroyUserNotice; + CERT_DestroyValidity; + CERT_DupCertList; + CERT_DupCertificate; + CERT_DupGeneralNameList; + CERT_EncodeAltNameExtension; + CERT_EncodeAndAddBitStrExtension; + CERT_EncodeAndAddExtension; + CERT_EncodeAuthKeyID; + CERT_EncodeBasicConstraintValue; + CERT_EncodeIA5TypeExtension; + CERT_EncodeNameConstraintsExtension; + CERT_EncodePublicKeyUsagePeriod; + CERT_EncodeSubjectKeyID; + CERT_EncodeTrustString; + CERT_ExtractNicknameString; + CERT_ExtractPublicKey; + CERT_FilterCertListByCANames; + CERT_FilterCertListByUsage; + CERT_FindAuthKeyIDExten; + CERT_FindBasicConstraintExten; + CERT_FindBitStringExtension; + CERT_FindCertByDERCert; + CERT_FindCertByDERCertNoLocking; + CERT_FindCertByEmailAddr; + CERT_FindCertByIssuerAndSN; + CERT_FindCertByKey; + CERT_FindCertByKeyID; + CERT_FindCertByKeyNoLocking; + CERT_FindCertByName; + CERT_FindCertByNickname; + CERT_FindCertByNicknameOrEmailAddr; + CERT_FindCertBySPKDigest; + CERT_FindCertByUsage; + CERT_FindCertExtension; + CERT_FindCertExtensionByOID; + CERT_FindCertIssuer; + CERT_FindCertURLExtension; + CERT_FindExpiredIssuer; + CERT_FindIssuerCertExtension; + CERT_FindKeyUsageExtension; + CERT_FindMatchingCert; + CERT_FindNSCertTypeExtension; + CERT_FindNSStringExtension; + CERT_FindSMimeProfile; + CERT_FindSubjectKeyIDExten; + CERT_FinishExtensions; + CERT_FixupEmailAddr; + CERT_FreeNicknames; + CERT_GenTime2FormattedAscii; + CERT_GeneralNamesTemplate; + CERT_GetAVATag; + CERT_GetCertChainFromCert; + CERT_GetCertCommentString; + CERT_GetCertEmailAddress; + CERT_GetCertIssuerAndSN; + CERT_GetCertKeyType; + CERT_GetCertNicknameWithValidity; + CERT_GetCertNicknames; + CERT_GetCertTimes; + CERT_GetCertTrust; + CERT_GetCertType; + CERT_GetCertUid; + CERT_GetCertificateEmailAddress; + CERT_GetCertificateNames; + CERT_GetCommonName; + CERT_GetCountryName; + CERT_GetDBContentVersion; + CERT_GetDefaultCertDB; + CERT_GetDnQualifier; + CERT_GetDomainComponentName; + CERT_GetExtenCriticality; + CERT_GetGeneralNameByType; + CERT_GetGeneralNameFromListByType; + CERT_GetLocalityName; + CERT_GetNameConstriantByType; + CERT_GetNamesLength; + CERT_GetNickName; + CERT_GetOrgName; + CERT_GetOrgUnitName; + CERT_GetSSLCACerts; + CERT_GetStateName; + CERT_GetStatusConfig; + CERT_GovtApprovedBitSet; + CERT_Hexify; + CERT_ImportCerts; + CERT_InitCertDB; + CERT_IsCACert; + CERT_IsCertRevoked; + CERT_IsNewer; + CERT_IssuerAndSNTemplate; + CERT_IssuerNameFromDERCert; + CERT_KMIDPublicKey; + CERT_KeyFromDERCert; + CERT_KeyFromDERCrl; + CERT_KeyFromIssuerAndSN; + CERT_KeyUsageAndTypeForCertUsage; + CERT_LockCertRefCount; + CERT_LockCertTrust; + CERT_LockDB; + CERT_MakeCANickname; + CERT_NameConstraintSubtreeExcludedTemplate; + CERT_NameConstraintSubtreePermitedTemplate; + CERT_NameConstraintSubtreeSubTemplate; + CERT_NameFromDERCert; + CERT_NameTemplate; + CERT_NameToAscii; + CERT_NewCertList; + CERT_NewTempCertificate; + CERT_NextSubjectCert; + CERT_NicknameStringsFromCertList; + CERT_NoticeReferenceTemplate; + CERT_NumCertsForCertSubject; + CERT_NumPermCertsForCertSubject; + CERT_NumPermCertsForNickname; + CERT_NumPermCertsForSubject; + CERT_OidSeqTemplate; + CERT_OpenCertDB; + CERT_OpenCertDBFilename; + CERT_OpenVolatileCertDB; + CERT_ParseRFC1485AVA; + CERT_PolicyInfoTemplate; + CERT_PolicyQualifierTemplate; + CERT_PrevSubjectCert; + CERT_PublicKeyAndChallengeTemplate; + CERT_RDNTemplate; + CERT_RFC1485_EscapeAndQuote; + CERT_RemoveCertListNode; + CERT_SPKDigestValueForCert; + CERT_SaveImportedCert; + CERT_SaveSMimeProfile; + CERT_SequenceOfCertExtensionTemplate; + CERT_SerialNumberFromDERCert; + CERT_SetCAPolicyStringCallback; + CERT_SetDBContentVersion; + CERT_SetDefaultCertDB; + CERT_SetOfSignedCrlTemplate; + CERT_SetStatusConfig; + CERT_SignedDataTemplate; + CERT_SortCBValidity; + CERT_StartCertExtensions; + CERT_SubjectPublicKeyInfoTemplate; + CERT_TraverseCertsForSubject; + CERT_TraversePermCertsForNickname; + CERT_TraversePermCertsForSubject; + CERT_TrustFlagsForCACertUsage; + CERT_UTCTime2FormattedAscii; + CERT_UnlockCertRefCount; + CERT_UnlockCertTrust; + CERT_UnlockDB; + CERT_UserNoticeTemplate; + CERT_ValidityTemplate; + CERT_VerifyCert; + CERT_VerifyCertChain; + CERT_VerifyCertName; + CERT_VerifyCertNow; + CERT_VerifySignedData; + DER_AsciiToTime; + DER_Encode; + DER_GeneralizedTimeToTime; + DER_GetInteger; + DER_GetUInteger; + DER_LengthLength; + DER_Lengths; + DER_SetInteger; + DER_SetUInteger; + DER_StoreHeader; + DER_TimeToGeneralizedTime; + DER_TimeToUTCTime; + DER_UTCDayToAscii; + DER_UTCTimeToAscii; + DER_UTCTimeToTime; + DES_CreateContext; + DES_Decrypt; + DES_DestroyContext; + DES_Encrypt; + DES_PadBuffer; + DH_Derive; + DH_GenParam; + DH_NewKey; + DSAU_ConvertSignedToFixedUnsigned; + DSAU_ConvertUnsignedToSigned; + DSAU_DecodeDerSig; + DSAU_EncodeDerSig; + DSA_NewKey; + DSA_NewKeyFromSeed; + DSA_SignDigest; + DSA_SignDigestWithSeed; + DSA_SignatureTemplate; + DSA_VerifyDigest; + FC_CancelFunction; + FC_CloseAllSessions; + FC_CloseSession; + FC_CopyObject; + FC_CreateObject; + FC_Decrypt; + FC_DecryptDigestUpdate; + FC_DecryptFinal; + FC_DecryptInit; + FC_DecryptUpdate; + FC_DecryptVerifyUpdate; + FC_DeriveKey; + FC_DestroyObject; + FC_Digest; + FC_DigestEncryptUpdate; + FC_DigestFinal; + FC_DigestInit; + FC_DigestKey; + FC_DigestUpdate; + FC_Encrypt; + FC_EncryptFinal; + FC_EncryptInit; + FC_EncryptUpdate; + FC_Finalize; + FC_FindObjects; + FC_FindObjectsFinal; + FC_FindObjectsInit; + FC_GenerateKey; + FC_GenerateKeyPair; + FC_GenerateRandom; + FC_GetAttributeValue; + FC_GetFunctionList; + FC_GetFunctionStatus; + FC_GetInfo; + FC_GetMechanismInfo; + FC_GetMechanismList; + FC_GetObjectSize; + FC_GetOperationState; + FC_GetSessionInfo; + FC_GetSlotInfo; + FC_GetSlotList; + FC_GetTokenInfo; + FC_InitPIN; + FC_InitToken; + FC_Initialize; + FC_Login; + FC_Logout; + FC_OpenSession; + FC_SeedRandom; + FC_SetAttributeValue; + FC_SetOperationState; + FC_SetPIN; + FC_Sign; + FC_SignEncryptUpdate; + FC_SignFinal; + FC_SignInit; + FC_SignRecover; + FC_SignRecoverInit; + FC_SignUpdate; + FC_UnwrapKey; + FC_Verify; + FC_VerifyFinal; + FC_VerifyInit; + FC_VerifyRecover; + FC_VerifyRecoverInit; + FC_VerifyUpdate; + FC_WaitForSlotEvent; + FC_WrapKey; + HASH_Begin; + HASH_Clone; + HASH_Create; + HASH_Destroy; + HASH_End; + HASH_HashBuf; + HASH_ResultLen; + HASH_ResultLenContext; + HASH_Update; + HMAC_Begin; + HMAC_Clone; + HMAC_Create; + HMAC_Destroy; + HMAC_Finish; + HMAC_Update; + KEA_Derive; + KEA_Verify; + MD2_Begin; + MD2_DestroyContext; + MD2_End; + MD2_Flatten; + MD2_FlattenSize; + MD2_Hash; + MD2_NewContext; + MD2_Resurrect; + MD2_Update; + MD5_Begin; + MD5_DestroyContext; + MD5_End; + MD5_Flatten; + MD5_FlattenSize; + MD5_Hash; + MD5_HashBuf; + MD5_NewContext; + MD5_Resurrect; + MD5_TraceState; + MD5_Update; + NSC_CancelFunction; + NSC_CloseAllSessions; + NSC_CloseSession; + NSC_CopyObject; + NSC_CreateObject; + NSC_Decrypt; + NSC_DecryptDigestUpdate; + NSC_DecryptFinal; + NSC_DecryptInit; + NSC_DecryptUpdate; + NSC_DecryptVerifyUpdate; + NSC_DeriveKey; + NSC_DestroyObject; + NSC_Digest; + NSC_DigestEncryptUpdate; + NSC_DigestFinal; + NSC_DigestInit; + NSC_DigestKey; + NSC_DigestUpdate; + NSC_Encrypt; + NSC_EncryptFinal; + NSC_EncryptInit; + NSC_EncryptUpdate; + NSC_Finalize; + NSC_FindObjects; + NSC_FindObjectsFinal; + NSC_FindObjectsInit; + NSC_GenerateKey; + NSC_GenerateKeyPair; + NSC_GenerateRandom; + NSC_GetAttributeValue; + NSC_GetFunctionList; + NSC_GetFunctionStatus; + NSC_GetInfo; + NSC_GetMechanismInfo; + NSC_GetMechanismList; + NSC_GetObjectSize; + NSC_GetOperationState; + NSC_GetSessionInfo; + NSC_GetSlotInfo; + NSC_GetSlotList; + NSC_GetTokenInfo; + NSC_InitPIN; + NSC_InitToken; + NSC_Initialize; + NSC_Login; + NSC_Logout; + NSC_OpenSession; + NSC_SeedRandom; + NSC_SetAttributeValue; + NSC_SetOperationState; + NSC_SetPIN; + NSC_Sign; + NSC_SignEncryptUpdate; + NSC_SignFinal; + NSC_SignInit; + NSC_SignRecover; + NSC_SignRecoverInit; + NSC_SignUpdate; + NSC_UnwrapKey; + NSC_Verify; + NSC_VerifyFinal; + NSC_VerifyInit; + NSC_VerifyRecover; + NSC_VerifyRecoverInit; + NSC_VerifyUpdate; + NSC_WaitForSlotEvent; + NSC_WrapKey; + NSSBase64Decoder_Create; + NSSBase64Decoder_Destroy; + NSSBase64Decoder_Update; + NSSBase64Encoder_Create; + NSSBase64Encoder_Destroy; + NSSBase64Encoder_Update; + NSSBase64_DecodeBuffer; + NSSBase64_EncodeItem; + NSSRWLock_Destroy; + NSSRWLock_HaveWriteLock; + NSSRWLock_LockRead; + NSSRWLock_LockWrite; + NSSRWLock_New; + NSSRWLock_UnlockRead; + NSSRWLock_UnlockWrite; + NSS_Init; + NSS_InitReadWrite; + NSS_NoDB_Init; + NSS_PutEnv; + NSS_Shutdown; + PBE_CreateContext; + PBE_DestroyContext; + PBE_GenerateBits; + PBE_PK11ParamToAlgid; + PK11_AddMechanismEntry; + PK11_AddSlotToList; + PK11_AlgtagToMechanism; + PK11_Authenticate; + PK11_BlockData; + PK11_ChangePW; + PK11_CheckSSOPassword; + PK11_CheckUserPassword; + PK11_CipherOp; + PK11_CleanKeyList; + PK11_ClearSlotList; + PK11_CloneContext; + PK11_ConfigureFIPS; + PK11_ConfigurePKCS11; + PK11_CopyKey; + PK11_CreateContextByRawKey; + PK11_CreateContextBySymKey; + PK11_CreateDigestContext; + PK11_CreateNewObject; + PK11_CreatePBEAlgorithmID; + PK11_CreateSymKey; + PK11_DefaultArray; + PK11_DeleteSlotFromList; + PK11_DeleteTokenCertAndKey; + PK11_DeleteTokenPrivateKey; + PK11_Derive; + PK11_DeriveWithFlags; + PK11_DestroyContext; + PK11_DestroyObject; + PK11_DestroySlot; + PK11_DestroyTokenObject; + PK11_DigestBegin; + PK11_DigestFinal; + PK11_DigestKey; + PK11_DigestOp; + PK11_DoPassword; + PK11_DoesMechanism; + PK11_EndAuthTransaction; + PK11_EnterContextMonitor; + PK11_EnterSlotMonitor; + PK11_ExitContextMonitor; + PK11_ExitSlotMonitor; + PK11_ExportEncryptedPrivateKeyInfo; + PK11_ExportPrivateKeyInfo; + PK11_ExtractKeyValue; + PK11_ExtractPublicKey; + PK11_Finalize; + PK11_FindBestKEAMatch; + PK11_FindCertAndKeyByRecipientList; + PK11_FindCertAndKeyByRecipientListNew; + PK11_FindCertByIssuerAndSN; + PK11_FindCertFromDERCert; + PK11_FindCertFromDERSubjectAndNickname; + PK11_FindCertFromNickname; + PK11_FindCertInSlot; + PK11_FindCertsFromNickname; + PK11_FindFixedKey; + PK11_FindKeyByAnyCert; + PK11_FindKeyByDERCert; + PK11_FindKeyByKeyID; + PK11_FindObjectForCert; + PK11_FindObjectsFromNickname; + PK11_FindPrivateKeyFromCert; + PK11_FindSlotByName; + PK11_FindSlotBySerial; + PK11_FindSlotElement; + PK11_FortezzaHasKEA; + PK11_FortezzaMapSig; + PK11_FreeSlot; + PK11_FreeSlotCerts; + PK11_FreeSlotList; + PK11_FreeSymKey; + PK11_GenDES3TokenKey; + PK11_GenerateFortezzaIV; + PK11_GenerateKeyPair; + PK11_GenerateNewParam; + PK11_GenerateRandom; + PK11_GetAllTokens; + PK11_GetAttributes; + PK11_GetBestKeyLength; + PK11_GetBestSlot; + PK11_GetBestSlotMultiple; + PK11_GetBestWrapMechanism; + PK11_GetBlockSize; + PK11_GetCertFromPrivateKey; + PK11_GetCurrentWrapIndex; + PK11_GetDefaultFlags; + PK11_GetDisabledReason; + PK11_GetFirstRef; + PK11_GetFirstSafe; + PK11_GetIVLength; + PK11_GetInternalKeySlot; + PK11_GetInternalSlot; + PK11_GetKEAMatchedCerts; + PK11_GetKeyData; + PK11_GetKeyGen; + PK11_GetKeyIDFromCert; + PK11_GetKeyIDFromPrivateKey; + PK11_GetKeyLength; + PK11_GetKeyStrength; + PK11_GetKeyType; + PK11_GetMechanism; + PK11_GetMinimumPwdLength; + PK11_GetModInfo; + PK11_GetModule; + PK11_GetModuleID; + PK11_GetNextRef; + PK11_GetNextSafe; + PK11_GetPadMechanism; + PK11_GetPrivateKeyTokens; + PK11_GetPrivateModulusLen; + PK11_GetPubIndexKeyID; + PK11_GetRWSession; + PK11_GetSlotFromKey; + PK11_GetSlotFromPrivateKey; + PK11_GetSlotID; + PK11_GetSlotInfo; + PK11_GetSlotList; + PK11_GetSlotName; + PK11_GetSlotPWValues; + PK11_GetSlotSeries; + PK11_GetTokenInfo; + PK11_GetTokenName; + PK11_GetWindow; + PK11_GetWrapKey; + PK11_HandlePasswordCheck; + PK11_HasAttributeSet; + PK11_HasRootCerts; + PK11_HashBuf; + PK11_HashOK; + PK11_IVFromParam; + PK11_ImportCert; + PK11_ImportCertForKey; + PK11_ImportCertForKeyToSlot; + PK11_ImportEncryptedPrivateKeyInfo; + PK11_ImportPrivateKeyInfo; + PK11_ImportPublicKey; + PK11_ImportSymKey; + PK11_InitPin; + PK11_InitSlot; + PK11_InitSlotLists; + PK11_InitToken; + PK11_IsDisabled; + PK11_IsFIPS; + PK11_IsFriendly; + PK11_IsHW; + PK11_IsInternal; + PK11_IsLoggedIn; + PK11_IsPresent; + PK11_IsReadOnly; + PK11_IsUserCert; + PK11_KeyForCertExists; + PK11_KeyGen; + PK11_LoadSlotList; + PK11_Logout; + PK11_LogoutAll; + PK11_LowInitialize; + PK11_MakeCertFromHandle; + PK11_MakeIDFromPubKey; + PK11_MakeKEAPubKey; + PK11_MakePrivKey; + PK11_MakeString; + PK11_MapError; + PK11_MapPBEMechanismToCryptoMechanism; + PK11_MatchItem; + PK11_MechanismToAlgtag; + PK11_MoveListToList; + PK11_NeedLogin; + PK11_NeedPWInit; + PK11_NeedPWInitForSlot; + PK11_NeedUserInit; + PK11_NewSlotInfo; + PK11_NewSlotList; + PK11_NumberCertsForCertSubject; + PK11_NumberObjectsFor; + PK11_PBEKeyGen; + PK11_ParamFromAlgid; + PK11_ParamFromIV; + PK11_ParamToAlgid; + PK11_PubDecryptRaw; + PK11_PubDerive; + PK11_PubEncryptRaw; + PK11_PubUnwrapSymKey; + PK11_PubWrapSymKey; + PK11_RWSessionHasLock; + PK11_RandomUpdate; + PK11_ReadAttribute; + PK11_ReadMechanismList; + PK11_ReadSlotCerts; + PK11_ReadULongAttribute; + PK11_ReferenceSlot; + PK11_ReferenceSymKey; + PK11_ResetToken; + PK11_RestoreContext; + PK11_RestoreROSession; + PK11_SaveContext; + PK11_SeedRandom; + PK11_SetFortezzaHack; + PK11_SetIsLoggedInFunc; + PK11_SetPasswordFunc; + PK11_SetSlotPWValues; + PK11_SetVerifyPasswordFunc; + PK11_SetWrapKey; + PK11_Sign; + PK11_SignatureLen; + PK11_SlotDBUpdate; + PK11_SlotInit; + PK11_StartAuthTransaction; + PK11_SymKeyFromHandle; + PK11_TokenExists; + PK11_TokenKeyGen; + PK11_TraverseCertsForNicknameInSlot; + PK11_TraverseCertsForSubject; + PK11_TraverseCertsForSubjectInSlot; + PK11_TraverseCertsInSlot; + PK11_TraverseSlot; + PK11_TraverseSlotCerts; + PK11_UnwrapPrivKey; + PK11_UnwrapSymKey; + PK11_UnwrapSymKeyWithFlags; + PK11_UpdateSlotAttribute; + PK11_UserDisableSlot; + PK11_UserEnableSlot; + PK11_Verify; + PK11_VerifyKeyOK; + PK11_VerifyMechanism; + PK11_VerifyPW; + PK11_VerifyRecover; + PK11_VerifySlotMechanisms; + PK11_WrapPrivKey; + PK11_WrapSymKey; + PORT_Alloc; + PORT_ArenaAlloc; + PORT_ArenaGrow; + PORT_ArenaMark; + PORT_ArenaRelease; + PORT_ArenaStrdup; + PORT_ArenaUnmark; + PORT_ArenaZAlloc; + PORT_Free; + PORT_FreeArena; + PORT_GetError; + PORT_NewArena; + PORT_Realloc; + PORT_RegExpCaseSearch; + PORT_RegExpMatch; + PORT_RegExpSearch; + PORT_RegExpValid; + PORT_SetError; + PORT_SetUCS2_ASCIIConversionFunction; + PORT_SetUCS2_UTF8ConversionFunction; + PORT_SetUCS4_UTF8ConversionFunction; + PORT_UCS2_ASCIIConversion; + PORT_UCS2_UTF8Conversion; + PORT_UCS4_UTF8Conversion; + PORT_ZAlloc; + PORT_ZFree; + PQG_ParamGen; + PQG_VerifyParams; + RC2_CreateContext; + RC2_Decrypt; + RC2_DestroyContext; + RC2_Encrypt; + RC4_CreateContext; + RC4_Decrypt; + RC4_DestroyContext; + RC4_Encrypt; + RNG_FileForRNG; + RNG_GenerateGlobalRandomBytes; + RNG_GetNoise; + RNG_RNGInit; + RNG_RNGShutdown; + RNG_RandomUpdate; + RNG_SystemInfoForRNG; + RSA_CheckSign; + RSA_CheckSignRaw; + RSA_CheckSignRecover; + RSA_CheckSignRecoverRaw; + RSA_DecodeOneBlock; + RSA_DecryptBlock; + RSA_DecryptRaw; + RSA_EncryptBlock; + RSA_EncryptRaw; + RSA_FormatBlock; + RSA_FormatOneBlock; + RSA_NewKey; + RSA_PrivateKeyOp; + RSA_PublicKeyOp; + RSA_Sign; + RSA_SignRaw; + SECHashObjects; + SECITEM_AllocItem; + SECITEM_CompareItem; + SECITEM_CopyItem; + SECITEM_DupItem; + SECITEM_FreeItem; + SECITEM_ItemsAreEqual; + SECITEM_ReallocItem; + SECITEM_ZfreeItem; + SECKEY_AttributeTemplate; + SECKEY_ChangeKeyDBPassword; + SECKEY_ChangeKeyDBPasswordAlg; + SECKEY_CheckKeyDBPassword; + SECKEY_CloseKeyDB; + SECKEY_ConvertAndDecodePublicKey; + SECKEY_ConvertAndDecodePublicKeyAndChallenge; + SECKEY_ConvertAndDecodeSubjectPublicKeyInfo; + SECKEY_ConvertToPublicKey; + SECKEY_CopyEncryptedPrivateKeyInfo; + SECKEY_CopyLowPrivateKey; + SECKEY_CopyPrivateKey; + SECKEY_CopyPrivateKeyInfo; + SECKEY_CopyPublicKey; + SECKEY_CopySubjectPublicKeyInfo; + SECKEY_CreateRSAPrivateKey; + SECKEY_CreateSubjectPublicKeyInfo; + SECKEY_DHParamKeyTemplate; + SECKEY_DHPrivateKeyExportTemplate; + SECKEY_DHPrivateKeyTemplate; + SECKEY_DHPublicKeyTemplate; + SECKEY_DSADecodePQG; + SECKEY_DSAPrivateKeyExportTemplate; + SECKEY_DSAPrivateKeyTemplate; + SECKEY_DSAPublicKeyTemplate; + SECKEY_DecodeDERPublicKey; + SECKEY_DecodeDERSubjectPublicKeyInfo; + SECKEY_DecryptKey; + SECKEY_DeleteKey; + SECKEY_DeriveKeyDBPassword; + SECKEY_DestroyEncryptedPrivateKeyInfo; + SECKEY_DestroyPrivateKey; + SECKEY_DestroyPrivateKeyInfo; + SECKEY_DestroyPublicKey; + SECKEY_DestroySubjectPublicKeyInfo; + SECKEY_EncryptedPrivateKeyInfoTemplate; + SECKEY_FindKeyByCert; + SECKEY_FindKeyByPublicKey; + SECKEY_FortezzaAltPreParamTemplate; + SECKEY_FortezzaDecodeCertKey; + SECKEY_FortezzaDecodePQGtoOld; + SECKEY_FortezzaDiffParameterTemplate; + SECKEY_FortezzaParameterTemplate; + SECKEY_FortezzaPreParamTemplate; + SECKEY_GetDefaultKeyDB; + SECKEY_GetDefaultKeyDBAlg; + SECKEY_GetKeyDBVersion; + SECKEY_GetPrivateKeyType; + SECKEY_GetPublicKeyType; + SECKEY_HasKeyDBPassword; + SECKEY_HashPassword; + SECKEY_KEAParamCompare; + SECKEY_KEAParamsTemplate; + SECKEY_KEAPublicKeyTemplate; + SECKEY_KEASetParams; + SECKEY_KeyForCertExists; + SECKEY_LowConvertToPublicKey; + SECKEY_LowDestroyPrivateKey; + SECKEY_LowDestroyPublicKey; + SECKEY_LowPrivateModulusLen; + SECKEY_LowPublicModulusLen; + SECKEY_OpenKeyDB; + SECKEY_OpenKeyDBFilename; + SECKEY_PQGParamsTemplate; + SECKEY_PointerToEncryptedPrivateKeyInfoTemplate; + SECKEY_PointerToPrivateKeyInfoTemplate; + SECKEY_PrivateKeyInfoTemplate; + SECKEY_PublicKeyStrength; + SECKEY_RSAPrivateKeyTemplate; + SECKEY_RSAPublicKeyTemplate; + SECKEY_ResetKeyDB; + SECKEY_SetDefaultKeyDB; + SECKEY_SetDefaultKeyDBAlg; + SECKEY_SetKeyDBPassword; + SECKEY_SetKeyDBPasswordAlg; + SECKEY_SetOfAttributeTemplate; + SECKEY_StoreKeyByPublicKey; + SECKEY_StoreKeyByPublicKeyAlg; + SECKEY_TraverseKeys; + SECKEY_UpdateCertPQG; + SECKEY_UpdateKeyDBPass1; + SECKEY_UpdateKeyDBPass2; + SECMOD_AddList; + SECMOD_AddModule; + SECMOD_AddNewModule; + SECMOD_AddPermDB; + SECMOD_DeleteInternalModule; + SECMOD_DeleteModule; + SECMOD_DeletePermDB; + SECMOD_DestroyListLock; + SECMOD_DestroyModule; + SECMOD_DestroyModuleList; + SECMOD_DestroyModuleListElement; + SECMOD_DupModule; + SECMOD_FindModule; + SECMOD_FindModuleByID; + SECMOD_FindSlot; + SECMOD_GetDefaultModuleList; + SECMOD_GetDefaultModuleListLock; + SECMOD_GetFIPSInternal; + SECMOD_GetInternalModule; + SECMOD_GetReadLock; + SECMOD_GetWriteLock; + SECMOD_InitDB; + SECMOD_InternaltoPubCipherFlags; + SECMOD_InternaltoPubMechFlags; + SECMOD_IsModulePresent; + SECMOD_LoadModule; + SECMOD_LookupSlot; + SECMOD_NewInternal; + SECMOD_NewListLock; + SECMOD_NewModule; + SECMOD_NewModuleListElement; + SECMOD_PubCipherFlagstoInternal; + SECMOD_PubMechFlagstoInternal; + SECMOD_ReadPermDB; + SECMOD_ReferenceModule; + SECMOD_ReleaseReadLock; + SECMOD_ReleaseWriteLock; + SECMOD_RemoveList; + SECMOD_SetInternalModule; + SECMOD_SetRootCerts; + SECMOD_SlotDestroyModule; + SECMOD_UnloadModule; + SECMOD_init; + SECOID_AddEntry; + SECOID_AlgorithmIDTemplate; + SECOID_CompareAlgorithmID; + SECOID_CopyAlgorithmID; + SECOID_DestroyAlgorithmID; + SECOID_FindOID; + SECOID_FindOIDByMechanism; + SECOID_FindOIDByTag; + SECOID_FindOIDTag; + SECOID_FindOIDTagDescription; + SECOID_GetAlgorithmTag; + SECOID_KnownCertExtenOID; + SECOID_SetAlgorithmID; + SEC_ASN1Decode; + SEC_ASN1DecodeInteger; + SEC_ASN1DecodeItem; + SEC_ASN1DecoderClearFilterProc; + SEC_ASN1DecoderClearNotifyProc; + SEC_ASN1DecoderFinish; + SEC_ASN1DecoderSetFilterProc; + SEC_ASN1DecoderSetNotifyProc; + SEC_ASN1DecoderStart; + SEC_ASN1DecoderUpdate; + SEC_ASN1Encode; + SEC_ASN1EncodeInteger; + SEC_ASN1EncodeItem; + SEC_ASN1EncodeLength; + SEC_ASN1EncodeUnsignedInteger; + SEC_ASN1EncoderClearNotifyProc; + SEC_ASN1EncoderClearStreaming; + SEC_ASN1EncoderClearTakeFromBuf; + SEC_ASN1EncoderFinish; + SEC_ASN1EncoderSetNotifyProc; + SEC_ASN1EncoderSetStreaming; + SEC_ASN1EncoderSetTakeFromBuf; + SEC_ASN1EncoderStart; + SEC_ASN1EncoderUpdate; + SEC_ASN1GetSubtemplate; + SEC_ASN1LengthLength; + SEC_AddPermCrlToTemp; + SEC_AddTempNickname; + SEC_AnyTemplate; + SEC_BMPStringTemplate; + SEC_BitStringTemplate; + SEC_BooleanTemplate; + SEC_CERTExtensionTemplate; + SEC_CertDBKeyConflict; + SEC_CertIssuerTemplate; + SEC_CertNicknameConflict; + SEC_CertSerialNumberTemplate; + SEC_CertSubjectTemplate; + SEC_CheckCRL; + SEC_CheckCrlTimes; + SEC_CheckKRL; + SEC_CrlIsNewer; + SEC_CrlReplaceUrl; + SEC_DeletePermCRL; + SEC_DeletePermCertificate; + SEC_DeleteTempCrl; + SEC_DeleteTempNickname; + SEC_DerSignData; + SEC_DestroyCrl; + SEC_EnumeratedTemplate; + SEC_FindCrlByDERCert; + SEC_FindCrlByKey; + SEC_FindCrlByName; + SEC_FindPermCertByKey; + SEC_FindPermCertByName; + SEC_FindPermCertByNickname; + SEC_GeneralizedTimeTemplate; + SEC_GetCrlTimes; + SEC_IA5StringTemplate; + SEC_IntegerTemplate; + SEC_LookupCrls; + SEC_NewCrl; + SEC_NullTemplate; + SEC_ObjectIDTemplate; + SEC_OctetStringTemplate; + SEC_OpenPermCertDB; + SEC_PKCS5CipherData; + SEC_PKCS5CreateAlgorithmID; + SEC_PKCS5DestroyPBEParameter; + SEC_PKCS5GetCryptoAlgorithm; + SEC_PKCS5GetIV; + SEC_PKCS5GetKey; + SEC_PKCS5GetKeyLength; + SEC_PKCS5GetPBEAlgorithm; + SEC_PKCS5GetPBEParameter; + SEC_PKCS5GetSalt; + SEC_PKCS5IsAlgorithmPBEAlg; + SEC_PKCS5PBEParameterTemplate; + SEC_PKCS7AddRecipient; + SEC_PKCS7AddSigningTime; + SEC_PKCS7ContentType; + SEC_PKCS7CreateData; + SEC_PKCS7CreateEncryptedData; + SEC_PKCS7CreateEnvelopedData; + SEC_PKCS7CreateSignedData; + SEC_PKCS7DecodeItem; + SEC_PKCS7DecoderFinish; + SEC_PKCS7DecoderStart; + SEC_PKCS7DecoderUpdate; + SEC_PKCS7DecryptContents; + SEC_PKCS7DestroyContentInfo; + SEC_PKCS7EncoderFinish; + SEC_PKCS7EncoderStart; + SEC_PKCS7EncoderUpdate; + SEC_PKCS7GetCertificateList; + SEC_PKCS7GetContent; + SEC_PKCS7GetEncryptionAlgorithm; + SEC_PKCS7IncludeCertChain; + SEC_PKCS7IsContentEmpty; + SEC_PKCS7VerifySignature; + SEC_PointerToAnyTemplate; + SEC_PointerToBMPStringTemplate; + SEC_PointerToBitStringTemplate; + SEC_PointerToBooleanTemplate; + SEC_PointerToEnumeratedTemplate; + SEC_PointerToGeneralizedTimeTemplate; + SEC_PointerToIA5StringTemplate; + SEC_PointerToIntegerTemplate; + SEC_PointerToNullTemplate; + SEC_PointerToObjectIDTemplate; + SEC_PointerToOctetStringTemplate; + SEC_PointerToPrintableStringTemplate; + SEC_PointerToT61StringTemplate; + SEC_PointerToUTCTimeTemplate; + SEC_PointerToUTF8StringTemplate; + SEC_PointerToUniversalStringTemplate; + SEC_PointerToVisibleStringTemplate; + SEC_PrintableStringTemplate; + SEC_SequenceOfAnyTemplate; + SEC_SequenceOfBMPStringTemplate; + SEC_SequenceOfBitStringTemplate; + SEC_SequenceOfBooleanTemplate; + SEC_SequenceOfEnumeratedTemplate; + SEC_SequenceOfGeneralizedTimeTemplate; + SEC_SequenceOfIA5StringTemplate; + SEC_SequenceOfIntegerTemplate; + SEC_SequenceOfNullTemplate; + SEC_SequenceOfObjectIDTemplate; + SEC_SequenceOfOctetStringTemplate; + SEC_SequenceOfPrintableStringTemplate; + SEC_SequenceOfT61StringTemplate; + SEC_SequenceOfUTCTimeTemplate; + SEC_SequenceOfUTF8StringTemplate; + SEC_SequenceOfUniversalStringTemplate; + SEC_SequenceOfVisibleStringTemplate; + SEC_SetOfAnyTemplate; + SEC_SetOfBMPStringTemplate; + SEC_SetOfBitStringTemplate; + SEC_SetOfBooleanTemplate; + SEC_SetOfEnumeratedTemplate; + SEC_SetOfGeneralizedTimeTemplate; + SEC_SetOfIA5StringTemplate; + SEC_SetOfIntegerTemplate; + SEC_SetOfNullTemplate; + SEC_SetOfObjectIDTemplate; + SEC_SetOfOctetStringTemplate; + SEC_SetOfPrintableStringTemplate; + SEC_SetOfT61StringTemplate; + SEC_SetOfUTCTimeTemplate; + SEC_SetOfUTF8StringTemplate; + SEC_SetOfUniversalStringTemplate; + SEC_SetOfVisibleStringTemplate; + SEC_SignData; + SEC_SignFile; + SEC_SignedCertificateTemplate; + SEC_SkipTemplate; + SEC_T61StringTemplate; + SEC_TraverseDBEntries; + SEC_TraversePermCerts; + SEC_UTCTimeTemplate; + SEC_UTF8StringTemplate; + SEC_UniversalStringTemplate; + SEC_V2PKCS12PBEParameterTemplate; + SEC_VerifyFile; + SEC_VisibleStringTemplate; + SGN_Begin; + SGN_CompareDigestInfo; + SGN_CopyDigestInfo; + SGN_CreateDigestInfo; + SGN_DecodeDigestInfo; + SGN_DestroyContext; + SGN_DestroyDigestInfo; + SGN_Digest; + SGN_EncodeDigestInfo; + SGN_End; + SGN_NewContext; + SGN_Update; + SHA1_Begin; + SHA1_DestroyContext; + SHA1_End; + SHA1_Flatten; + SHA1_FlattenSize; + SHA1_Hash; + SHA1_HashBuf; + SHA1_NewContext; + SHA1_Resurrect; + SHA1_TraceState; + SHA1_Update; + VFY_Begin; + VFY_CreateContext; + VFY_DestroyContext; + VFY_End; + VFY_Update; + VFY_VerifyData; + VFY_VerifyDigest; + nss_InitLock; + pk11_fipsPowerUpSelfTest; + sec_PKCS7ContentInfoTemplate; + sec_port_ucs2_utf8_conversion_function; + sec_port_ucs4_utf8_conversion_function; + sgn_DigestInfoTemplate; + local: + *; +}; diff --git a/security/nss/lib/smime/mapfile b/security/nss/lib/smime/mapfile new file mode 100644 index 000000000000..18f703c3271c --- /dev/null +++ b/security/nss/lib/smime/mapfile @@ -0,0 +1,226 @@ +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is the Netscape security libraries. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 2000 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the +# terms of the GNU General Public License Version 2 or later (the +# "GPL"), in which case the provisions of the GPL are applicable +# instead of those above. If you wish to allow use of your +# version of this file only under the terms of the GPL and not to +# allow others to use your version of this file under the MPL, +# indicate your decision by deleting the provisions above and +# replace them with the notice and other provisions required by +# the GPL. If you do not delete the provisions above, a recipient +# may use your version of this file under either the MPL or the +# GPL. +# + +NSS_3.2 { # NSS 3.2 release + global: + NSS_CMSAlgArray_GetIndexByAlgID; + NSS_CMSAlgArray_GetIndexByAlgTag; + NSS_CMSArray_Add; + NSS_CMSArray_Alloc; + NSS_CMSArray_Count; + NSS_CMSArray_IsEmpty; + NSS_CMSArray_Sort; + NSS_CMSArray_SortByDER; + NSS_CMSAttributeArray_AddAttr; + NSS_CMSAttributeArray_Encode; + NSS_CMSAttributeArray_FindAttrByOidTag; + NSS_CMSAttributeArray_Reorder; + NSS_CMSAttributeArray_SetAttr; + NSS_CMSAttribute_AddValue; + NSS_CMSAttribute_CompareValue; + NSS_CMSAttribute_Create; + NSS_CMSAttribute_GetType; + NSS_CMSAttribute_GetValue; + NSS_CMSCipherContext_Decrypt; + NSS_CMSCipherContext_DecryptLength; + NSS_CMSCipherContext_Destroy; + NSS_CMSCipherContext_Encrypt; + NSS_CMSCipherContext_EncryptLength; + NSS_CMSCipherContext_StartDecrypt; + NSS_CMSCipherContext_StartEncrypt; + NSS_CMSContentInfo_Destroy; + NSS_CMSContentInfo_GetBulkKey; + NSS_CMSContentInfo_GetBulkKeySize; + NSS_CMSContentInfo_GetChildContentInfo; + NSS_CMSContentInfo_GetContent; + NSS_CMSContentInfo_GetContentEncAlg; + NSS_CMSContentInfo_GetContentEncAlgTag; + NSS_CMSContentInfo_GetContentTypeOID; + NSS_CMSContentInfo_GetContentTypeTag; + NSS_CMSContentInfo_GetInnerContent; + NSS_CMSContentInfo_SetBulkKey; + NSS_CMSContentInfo_SetContent; + NSS_CMSContentInfo_SetContentEncAlg; + NSS_CMSContentInfo_SetContentEncAlgID; + NSS_CMSContentInfo_SetContent_Data; + NSS_CMSContentInfo_SetContent_DigestedData; + NSS_CMSContentInfo_SetContent_EncryptedData; + NSS_CMSContentInfo_SetContent_EnvelopedData; + NSS_CMSContentInfo_SetContent_SignedData; + NSS_CMSContent_GetContentInfo; + NSS_CMSDEREncode; + NSS_CMSDecoder_Cancel; + NSS_CMSDecoder_Finish; + NSS_CMSDecoder_Start; + NSS_CMSDecoder_Update; + NSS_CMSDigestContext_Cancel; + NSS_CMSDigestContext_FinishMultiple; + NSS_CMSDigestContext_FinishSingle; + NSS_CMSDigestContext_StartMultiple; + NSS_CMSDigestContext_StartSingle; + NSS_CMSDigestContext_Update; + NSS_CMSDigestedData_Create; + NSS_CMSDigestedData_Decode_AfterData; + NSS_CMSDigestedData_Decode_AfterEnd; + NSS_CMSDigestedData_Decode_BeforeData; + NSS_CMSDigestedData_Destroy; + NSS_CMSDigestedData_Encode_AfterData; + NSS_CMSDigestedData_Encode_BeforeData; + NSS_CMSDigestedData_Encode_BeforeStart; + NSS_CMSDigestedData_GetContentInfo; + NSS_CMSEncoder_Cancel; + NSS_CMSEncoder_Finish; + NSS_CMSEncoder_Start; + NSS_CMSEncoder_Update; + NSS_CMSEncryptedData_Create; + NSS_CMSEncryptedData_Decode_AfterData; + NSS_CMSEncryptedData_Decode_AfterEnd; + NSS_CMSEncryptedData_Decode_BeforeData; + NSS_CMSEncryptedData_Destroy; + NSS_CMSEncryptedData_Encode_AfterData; + NSS_CMSEncryptedData_Encode_BeforeData; + NSS_CMSEncryptedData_Encode_BeforeStart; + NSS_CMSEncryptedData_GetContentInfo; + NSS_CMSEnvelopedData_AddRecipient; + NSS_CMSEnvelopedData_Create; + NSS_CMSEnvelopedData_Decode_AfterData; + NSS_CMSEnvelopedData_Decode_AfterEnd; + NSS_CMSEnvelopedData_Decode_BeforeData; + NSS_CMSEnvelopedData_Destroy; + NSS_CMSEnvelopedData_Encode_AfterData; + NSS_CMSEnvelopedData_Encode_BeforeData; + NSS_CMSEnvelopedData_Encode_BeforeStart; + NSS_CMSEnvelopedData_GetContentInfo; + NSS_CMSMessage_ContainsCertsOrCrls; + NSS_CMSMessage_ContentLevel; + NSS_CMSMessage_ContentLevelCount; + NSS_CMSMessage_Copy; + NSS_CMSMessage_Create; + NSS_CMSMessage_CreateFromDER; + NSS_CMSMessage_Destroy; + NSS_CMSMessage_GetArena; + NSS_CMSMessage_GetContent; + NSS_CMSMessage_GetContentInfo; + NSS_CMSMessage_IsContentEmpty; + NSS_CMSMessage_IsEncrypted; + NSS_CMSMessage_IsSigned; + NSS_CMSMessage_SetEncodingParams; + NSS_CMSRecipientEncryptedKey_Create; + NSS_CMSRecipientInfo_Create; + NSS_CMSRecipientInfo_Destroy; + NSS_CMSRecipientInfo_GetEncryptedKey; + NSS_CMSRecipientInfo_GetKeyEncryptionAlgorithmTag; + NSS_CMSRecipientInfo_GetVersion; + NSS_CMSRecipientInfo_UnwrapBulkKey; + NSS_CMSRecipientInfo_WrapBulkKey; + NSS_CMSSignedData_AddCertChain; + NSS_CMSSignedData_AddCertList; + NSS_CMSSignedData_AddCertificate; + NSS_CMSSignedData_AddDigest; + NSS_CMSSignedData_AddSignerInfo; + NSS_CMSSignedData_ContainsCertsOrCrls; + NSS_CMSSignedData_Create; + NSS_CMSSignedData_CreateCertsOnly; + NSS_CMSSignedData_Decode_AfterData; + NSS_CMSSignedData_Decode_AfterEnd; + NSS_CMSSignedData_Decode_BeforeData; + NSS_CMSSignedData_Destroy; + NSS_CMSSignedData_Encode_AfterData; + NSS_CMSSignedData_Encode_BeforeData; + NSS_CMSSignedData_Encode_BeforeStart; + NSS_CMSSignedData_GetCertificateList; + NSS_CMSSignedData_GetContentInfo; + NSS_CMSSignedData_GetDigestAlgs; + NSS_CMSSignedData_GetDigestByAlgTag; + NSS_CMSSignedData_GetDigestValue; + NSS_CMSSignedData_GetSignerInfo; + NSS_CMSSignedData_GetSignerInfos; + NSS_CMSSignedData_HasDigests; + NSS_CMSSignedData_ImportCerts; + NSS_CMSSignedData_SetDigestValue; + NSS_CMSSignedData_SetDigests; + NSS_CMSSignedData_SignerInfoCount; + NSS_CMSSignedData_VerifyCertsOnly; + NSS_CMSSignedData_VerifySignerInfo; + NSS_CMSSignerInfo_AddAuthAttr; + NSS_CMSSignerInfo_AddCounterSignature; + NSS_CMSSignerInfo_AddSMIMECaps; + NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs; + NSS_CMSSignerInfo_AddSigningTime; + NSS_CMSSignerInfo_AddUnauthAttr; + NSS_CMSSignerInfo_Create; + NSS_CMSSignerInfo_Destroy; + NSS_CMSSignerInfo_GetCertList; + NSS_CMSSignerInfo_GetDigestAlg; + NSS_CMSSignerInfo_GetDigestAlgTag; + NSS_CMSSignerInfo_GetSignerCommonName; + NSS_CMSSignerInfo_GetSignerEmailAddress; + NSS_CMSSignerInfo_GetSigningCertificate; + NSS_CMSSignerInfo_GetSigningTime; + NSS_CMSSignerInfo_GetVerificationStatus; + NSS_CMSSignerInfo_GetVersion; + NSS_CMSSignerInfo_IncludeCerts; + NSS_CMSSignerInfo_Sign; + NSS_CMSSignerInfo_Verify; + NSS_CMSSignerInfo_VerifyCertificate; + NSS_CMSUtil_DERCompare; + NSS_CMSUtil_DecryptSymKey_ESDH; + NSS_CMSUtil_DecryptSymKey_MISSI; + NSS_CMSUtil_DecryptSymKey_RSA; + NSS_CMSUtil_EncryptSymKey_ESDH; + NSS_CMSUtil_EncryptSymKey_MISSI; + NSS_CMSUtil_EncryptSymKey_RSA; + NSS_CMSUtil_GetHashObjByAlgID; + NSS_CMSUtil_GetSizeByTypeTag; + NSS_CMSUtil_GetTemplateByTypeTag; + NSS_CMSUtil_MakeSignatureAlgorithm; + NSS_CMSUtil_VerificationStatusToString; + NSS_PointerToCMSDigestedDataTemplate; + NSS_PointerToCMSEncryptedDataTemplate; + NSS_PointerToCMSEnvelopedDataTemplate; + NSS_PointerToCMSSignedDataTemplate; + NSS_SMIMEKEAParamTemplateAllParams; + NSS_SMIMEKEAParamTemplateNoSkipjack; + NSS_SMIMEKEAParamTemplateSkipjack; + NSS_SMIMESignerInfo_SaveSMIMEProfile; + NSS_SMIMEUtil_AllowCipher; + NSS_SMIMEUtil_CreateSMIMECapabilities; + NSS_SMIMEUtil_CreateSMIMEEncKeyPrefs; + NSS_SMIMEUtil_DecryptionAllowed; + NSS_SMIMEUtil_EnableCipher; + NSS_SMIMEUtil_EncryptionPossible; + NSS_SMIMEUtil_FindBulkAlgForRecipients; + NSS_SMIMEUtil_GetCertFromEncryptionKeyPreference; + local: + *; +}; diff --git a/security/nss/lib/ssl/mapfile b/security/nss/lib/ssl/mapfile new file mode 100644 index 000000000000..e2249362f998 --- /dev/null +++ b/security/nss/lib/ssl/mapfile @@ -0,0 +1,101 @@ +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is the Netscape security libraries. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 2000 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the +# terms of the GNU General Public License Version 2 or later (the +# "GPL"), in which case the provisions of the GPL are applicable +# instead of those above. If you wish to allow use of your +# version of this file only under the terms of the GPL and not to +# allow others to use your version of this file under the MPL, +# indicate your decision by deleting the provisions above and +# replace them with the notice and other provisions required by +# the GPL. If you do not delete the provisions above, a recipient +# may use your version of this file under either the MPL or the +# GPL. +# + +NSS_3.2 { # NSS 3.2 release + global: + NSS_CmpCertChainWCANames; + NSS_FindCertKEAType; + NSS_GetClientAuthData; + NSS_SetDomesticPolicy; + NSS_SetExportPolicy; + NSS_SetFrancePolicy; + SSL3_SendAlert; + SSL_AuthCertificate; + SSL_AuthCertificateHook; + SSL_BadCertHook; + SSL_CertDBHandleSet; + SSL_CheckDirectSock; + SSL_CipherPolicyGet; + SSL_CipherPolicySet; + SSL_CipherPrefGet; + SSL_CipherPrefGetDefault; + SSL_CipherPrefSet; + SSL_CipherPrefSetDefault; + SSL_ClearSessionCache; + SSL_ConfigMPServerSIDCache; + SSL_ConfigSecureServer; + SSL_ConfigServerSessionIDCache; + SSL_ConfigSockd; + SSL_DataPending; + SSL_Enable; + SSL_EnableCipher; + SSL_EnableDefault; + SSL_ForceHandshake; + SSL_GetClientAuthDataHook; + SSL_GetSessionID; + SSL_HandshakeCallback; + SSL_ImplementedCiphers; + SSL_ImportFD; + SSL_InheritMPServerSIDCache; + SSL_InvalidateSession; + SSL_NumImplementedCiphers; + SSL_OptionGet; + SSL_OptionGetDefault; + SSL_OptionSet; + SSL_OptionSetDefault; + SSL_PeerCertificate; + SSL_PreencryptedFileToStream; + SSL_PreencryptedStreamToFile; + SSL_ReHandshake; + SSL_ReadSocksConfFile; + SSL_RedoHandshake; + SSL_ResetHandshake; + SSL_RestartHandshakeAfterCertReq; + SSL_RestartHandshakeAfterServerCert; + SSL_RevealCert; + SSL_RevealPinArg; + SSL_RevealURL; + SSL_SecurityStatus; + SSL_SetPKCS11PinArg; + SSL_SetPolicy; + SSL_SetSockPeerID; + SSL_SetURL; + ssl3_hch_sid_cache_hits; + ssl3_hch_sid_cache_misses; + ssl3_hch_sid_cache_not_ok; + ssl3_hsh_sid_cache_hits; + ssl3_hsh_sid_cache_misses; + ssl3_hsh_sid_cache_not_ok; + local: + *; +};