diff options
Diffstat (limited to 'mailnews/mime/src/nsCMS.h')
-rw-r--r-- | mailnews/mime/src/nsCMS.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mailnews/mime/src/nsCMS.h b/mailnews/mime/src/nsCMS.h index 7c862eb46..393344277 100644 --- a/mailnews/mime/src/nsCMS.h +++ b/mailnews/mime/src/nsCMS.h @@ -42,10 +42,14 @@ private: nsCOMPtr<nsIInterfaceRequestor> m_ctx; NSSCMSMessage * m_cmsMsg; NSSCMSSignerInfo* GetTopLevelSignerInfo(); - nsresult CommonVerifySignature(unsigned char* aDigestData, uint32_t aDigestDataLen); + nsresult CommonVerifySignature(unsigned char* aDigestData, uint32_t aDigestDataLen, + int16_t aDigestType); nsresult CommonAsyncVerifySignature(nsISMimeVerificationListener *aListener, - unsigned char* aDigestData, uint32_t aDigestDataLen); + unsigned char* aDigestData, uint32_t aDigestDataLen, + int16_t aDigestType); + bool GetIntHashToOidHash(const int16_t aCryptoHashInt, SECOidTag &aOidTag); + bool IsAllowedHash(const int16_t aCryptoHashInt); virtual void virtualDestroyNSSReference() override; void destructorSafeDestroyNSSReference(); |