Bugs 1507218 and 1528615

Tag #1273
This commit is contained in:
Matt A. Tobin 2019-11-10 23:49:16 -05:00 • committed by Roy Tam
commit 6debc5b306
6 changed files with 132 additions and 44 deletions

View file

@ -28,7 +28,9 @@ interface nsICMSMessage : nsISupports
void getSignerCert(out nsIX509Cert scert);
void getEncryptionCert(out nsIX509Cert ecert);
void verifySignature();
void verifyDetachedSignature(in UnsignedCharPtr aDigestData, in unsigned long aDigestDataLen);
void verifyDetachedSignature(in UnsignedCharPtr aDigestData,
in unsigned long aDigestDataLen,
in int16_t aDigestType);
void CreateEncrypted(in nsIArray aRecipientCerts);
/* The parameter aDigestType must be one of the values in nsICryptoHash */