summaryrefslogtreecommitdiffstats
path: root/mailnews/mime/src/nsCMS.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 23:49:16 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 23:49:16 -0500
commit38fe066bb424ab3ebf4297b9dcde12e5f8057612 (patch)
tree83f18b363558a136d712139d78004773e6a8402d /mailnews/mime/src/nsCMS.h
parent544e93daf825f171e9f2b784a16d2ea36314f098 (diff)
downloadUXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar
UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar.gz
UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar.lz
UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar.xz
UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.zip
Bugs 1507218 and 1528615
Tag #1273
Diffstat (limited to 'mailnews/mime/src/nsCMS.h')
-rw-r--r--mailnews/mime/src/nsCMS.h8
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();