mozilla

Utility functions

The public functions listed here perform initialization tasks and other services.

If documentation is available for a function listed below, the function name is linked to either its MDC wiki page or its entry in the old SSL Reference. The Mozilla Cross Reference (MXR) link for each function provides access to the function definition, prototype definition, and source code references. The NSS version column indicates which versions of NSS support the function.

Function name/documentation Source code NSS versions
ATOB_AsciiToData MXR Deprecated 3.2 use NSSBase64_DecodeBuffer
ATOB_ConvertAsciiToItem MXR Deprecated 3.2 use NSSBase64_DecodeBuffer
BTOA_ConvertItemToAscii MXR Deprecated 3.2 use NSSBase64_EncodeItem
BTOA_DataToAscii MXR Deprecated 3.2 use NSSBase64_EncodeItem
DER_AsciiToTime MXR 3.5 and later
DER_DecodeTimeChoice MXR 3.9 and later
DER_Encode MXR 3.4 and later
DER_EncodeTimeChoice MXR 3.9 and later
DER_GeneralizedTimeToTime MXR 3.2 and later
DER_GetInteger MXR 3.2 and later
DER_GeneralizedDayToAscii MXR 3.11.7 and later
DER_Lengths MXR 3.2 and later
DER_TimeToUTCTime MXR 3.2 and later
DER_TimeChoiceDayToAscii MXR 3.11.7 and later
DER_TimeToGeneralizedTime MXR 3.11.7 and later
DER_TimeToGeneralizedTimeArena MXR 3.11.7 and later
DER_UTCDayToAscii MXR 3.2 and later
DER_UTCTimeToAscii MXR 3.2 and later
DER_UTCTimeToTime MXR 3.2 and later
DSAU_DecodeDerSig MXR 3.2 and later
DSAU_DecodeDerSigToLen MXR 3.9 and later
DSAU_EncodeDerSig MXR 3.2 and later
DSAU_EncodeDerSigWithLen MXR 3.9 and later
HASH_Begin MXR 3.4 and later
HASH_Clone MXR 3.10 and later
HASH_Create MXR 3.4 and later
HASH_Destroy MXR 3.4 and later
HASH_End MXR 3.4 and later
HASH_GetHashObject MXR 3.2 and later
HASH_GetHashObjectByOidTag MXR 3.8 and later
HASH_GetHashTypeByOidTag MXR 3.8 and later
HASH_GetType MXR 3.12 and later
HASH_HashBuf MXR 3.10 and later
HASH_ResultLen MXR 3.4 and later
HASH_ResultLenByOidTag MXR 3.10 and later
HASH_ResultLenContext MXR 3.10 and later
HASH_Update MXR 3.4 and later
NSS_Init MXR 3.2 and later
NSS_Initialize MXR 3.2 and later
NSS_InitReadWrite MXR 3.2 and later
NSS_InitWithMerge MXR 3.12 and later
NSS_IsInitialized MXR 3.9.2 and later
NSS_NoDB_Init MXR 3.2 and later
NSS_PutEnv MXR 3.2 and later
NSS_RegisterShutdown MXR 3.11.1 and later
NSS_Shutdown MXR 3.2 and later
NSS_UnregisterShutdown MXR 3.11.1 and later
NSS_VersionCheck MXR 3.2 and later
NSSBase64_DecodeBuffer MXR 3.4 and later
NSSBase64Decoder_Create MXR 3.2 and later
NSSBase64Decoder_Destroy MXR 3.2 and later
NSSBase64Decoder_Update MXR 3.2 and later
NSSBase64_EncodeItem MXR 3.4 and later
NSSBase64Encoder_Create MXR 3.2 and later
NSSBase64Encoder_Destroy MXR 3.2 and later
NSSBase64Encoder_Update MXR 3.2 and later
NSSRWLock_Destroy MXR 3.2 and later
NSSRWLock_HaveWriteLock MXR 3.2 and later
NSSRWLock_LockRead MXR 3.2 and later
NSSRWLock_LockWrite MXR 3.2 and later
NSSRWLock_New MXR 3.2 and later
NSSRWLock_UnlockRead MXR 3.2 and later
NSSRWLock_UnlockWrite MXR 3.2 and later
NSSSMIME_VersionCheck MXR 3.2.1 and later
PORT_Alloc MXR 3.2 and later
PORT_ArenaAlloc MXR 3.2 and later
PORT_ArenaGrow MXR 3.2 and later
PORT_ArenaMark MXR 3.2 and later
PORT_ArenaRelease MXR 3.2 and later
PORT_ArenaStrdup MXR 3.2 and later
PORT_ArenaUnmark MXR 3.2 and later
PORT_ArenaZAlloc MXR 3.2 and later
PORT_Free MXR 3.2 and later
PORT_FreeArena MXR 3.2 and later
PORT_GetError MXR 3.2 and later
PORT_NewArena MXR 3.2 and later
PORT_Realloc MXR 3.2 and later
PORT_SetError MXR 3.2 and later
PORT_SetUCS2_ASCIIConversionFunction MXR 3.2 and later
PORT_SetUCS2_UTF8ConversionFunction MXR 3.2 and later
PORT_SetUCS4_UTF8ConversionFunction MXR 3.2 and later
PORT_Strdup MXR 3.5 and later
PORT_UCS2_ASCIIConversion MXR 3.2 and later
PORT_UCS2_UTF8Conversion MXR 3.2 and later
PORT_ZAlloc MXR 3.2 and later
PORT_ZFree MXR 3.2 and later
RSA_FormatBlock MXR 3.2 and later
SEC_ASN1Decode MXR 3.4 and later
SEC_ASN1DecodeInteger MXR 3.2 and later
SEC_ASN1DecodeItem MXR 3.2 and later
SEC_ASN1DecoderAbort MXR 3.9 and later
SEC_ASN1DecoderClearFilterProc MXR 3.2 and later
SEC_ASN1DecoderClearNotifyProc MXR 3.2 and later
SEC_ASN1DecoderFinish MXR 3.2 and later
SEC_ASN1DecoderSetFilterProc MXR 3.2 and later
SEC_ASN1DecoderSetNotifyProc MXR 3.2 and later
SEC_ASN1DecoderStart MXR 3.2 and later
SEC_ASN1DecoderUpdate MXR 3.2 and later
SEC_ASN1Encode MXR 3.2 and later
SEC_ASN1EncodeInteger MXR 3.2 and later
SEC_ASN1EncodeItem MXR 3.2 and later
SEC_ASN1EncoderAbort MXR 3.9 and later
SEC_ASN1EncoderClearNotifyProc MXR 3.2 and later
SEC_ASN1EncoderClearStreaming MXR 3.2 and later
SEC_ASN1EncoderClearTakeFromBuf MXR 3.2 and later
SEC_ASN1EncoderFinish MXR 3.2 and later
SEC_ASN1EncoderSetNotifyProc MXR 3.2 and later
SEC_ASN1EncoderSetStreaming MXR 3.2 and later
SEC_ASN1EncoderSetTakeFromBuf MXR 3.2 and later
SEC_ASN1EncoderStart MXR 3.2 and later
SEC_ASN1EncoderUpdate MXR 3.2 and later
SEC_ASN1EncodeUnsignedInteger MXR 3.11.1 and later
SEC_ASN1LengthLength MXR 3.2 and later
SEC_DupCrl MXR 3.9 and later
SEC_GetSignatureAlgorithmOidTag MXR 3.10 and later
SEC_GetRegisteredHttpClient MXR 3.12 and later
SEC_PKCS5GetCryptoAlgorithm MXR 3.2 and later
SEC_PKCS5GetKeyLength MXR 3.2 and later
SEC_PKCS5GetPBEAlgorithm MXR 3.2 and later
SEC_PKCS5IsAlgorithmPBEAlg MXR 3.2 and later
SEC_PKCS5IsAlgorithmPBEAlgTag MXR 3.12 and later
SEC_RegisterDefaultHttpClient MXR 3.11.1 and later
SEC_SignData MXR 3.2 and later
SEC_StringToOID MXR 3.12 and later
SECITEM_AllocItem MXR 3.2 and later
SECITEM_ArenaDupItem MXR 3.9 and later
SECITEM_CompareItem MXR 3.2 and later
SECITEM_CopyItem MXR 3.2 and later
SECITEM_DupItem MXR 3.2 and later
SECITEM_FreeItem MXR 3.2 and later
SECITEM_ItemsAreEqual MXR 3.8 and later
SECITEM_ZfreeItem MXR 3.2 and later
SECKEY_CopyEncryptedPrivateKeyInfo MXR 3.2 and later
SECKEY_CopyPrivateKeyInfo MXR 3.2 and later
SECKEY_CreateRSAPrivateKey MXR 3.2 and later
SECKEY_DestroyEncryptedPrivateKeyInfo MXR 3.2 and later
SECKEY_DestroyPrivateKeyInfo MXR 3.2 and later
SECKEY_DestroyPublicKey MXR 3.2 and later
SECKEY_PublicKeyStrength MXR 3.2 and later
SECKEY_UpdateCertPQG MXR 3.2 and later
SECMOD_AddNewModule MXR 3.3 and later
SECMOD_AddNewModuleEx MXR 3.4 and later
SECMOD_DeleteModuleEx MXR 3.12 and later
SECMOD_CancelWait MXR 3.9.3 and later
SECMOD_CanDeleteInternalModule MXR 3.5 and later
SECMOD_CreateModule MXR 3.4 and later
SECMOD_DeleteModule MXR 3.4 and later
SECMOD_FindModule MXR 3.4 and later
SECMOD_FindSlot MXR 3.4 and later
SECMOD_FreeModuleSpecList MXR 3.4 and later
SECMOD_GetDBModuleList MXR 3.9 and later
SECMOD_GetDeadModuleList MXR 3.9 and later
SECMOD_GetModuleSpecList MXR 3.4 and later
SECMOD_HasRemovableSlots MXR 3.9.3 and later
SECMOD_IsModulePresent MXR 3.2 and later
SECMOD_LoadModule MXR 3.4 and later
SECMOD_LoadUserModule MXR 3.4 and later
SECMOD_LookupSlot MXR 3.2 and later
SECMOD_PubCipherFlagstoInternal MXR 3.4 and later
SECMOD_PubMechFlagstoInternal MXR 3.4 and later
SECMOD_UnloadUserModule MXR 3.4 and later
SECMOD_UpdateModule MXR 3.4 and later
SECMOD_UpdateSlotList MXR 3.9.3 and later
SECMOD_WaitForAnyTokenEvent MXR 3.9.3 and later
SECOID_AddEntry MXR 3.10 and later
SECOID_CompareAlgorithmID MXR 3.2 and later
SECOID_CopyAlgorithmID MXR 3.2 and later
SECOID_DestroyAlgorithmID MXR 3.2 and later
SECOID_FindOID MXR 3.2 and later
SECOID_FindOIDByTag MXR 3.2 and later
SECOID_FindOIDTag MXR 3.2 and later
SECOID_FindOIDTagDescription MXR 3.2 and later
SECOID_GetAlgorithmTag MXR 3.2 and later
SECOID_SetAlgorithmID MXR 3.2 and later
SGN_Begin MXR 3.2 and later
SGN_CompareDigestInfo MXR 3.2 and later
SGN_CopyDigestInfo MXR 3.2 and later
SGN_CreateDigestInfo MXR 3.2 and later
SGN_DestroyContext MXR 3.2 and later
SGN_DestroyDigestInfo MXR 3.2 and later
SGN_Digest MXR 3.2 and later
SGN_End MXR 3.2 and later
SGN_NewContext MXR 3.2 and later
SGN_Update MXR 3.2 and later
VFY_Begin MXR 3.2 and later
VFY_CreateContext MXR Deprecated 3.12 use VFY_CreateContextDirect or VFY_CreateContextWithAlgorithmID
VFY_CreateContextDirect MXR 3.12 and later
VFY_CreateContextWithAlgorithmID MXR 3.12 and later
VFY_DestroyContext MXR 3.2 and later
VFY_End MXR 3.2 and later
VFY_Update MXR 3.2 and later
VFY_VerifyData MXR Deprecated 3.12 use VFY_VerifyDataDirect or VFY_VerifyDataWithAlgorithmID
VFY_VerifyDataDirect MXR 3.12 and later
VFY_DataWithAlgorithmID MXR 3.12 and later
VFY_VerifyDigest MXR Deprecated 3.12 use VFY_VerifyDigestDirect or VFY_VerifyDigestWithAlgorithmID
VFY_VerifyDigestDirect MXR 3.12 and later
VFY_VerifyDigestWithAlgorithmID MXR 3.12 and later

 

Document Tags and Contributors

Tags: 
Contributors to this page: Sheppy, Wtchang, Glenb, Chravel, Akass, kwilson
Last updated by: Sheppy,