summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/extensions/smime/nsIMsgSMIMEHeaderSink.idl
blob: 5a0a9b838bb91561b305824071213c883115204f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


/* This is a private interface used exclusively by SMIME. NO ONE outside of extensions/smime
   or the hard coded smime decryption files in mime/src should have any knowledge nor should
   be referring to this interface.
*/

#include "nsISupports.idl"

interface nsIX509Cert;

[scriptable, uuid(25380FA1-E70C-4e82-B0BC-F31C2F41C470)]
interface nsIMsgSMIMEHeaderSink : nsISupports
{
  void signedStatus(in long aNestingLevel,
                    in long aSignatureStatus,
                    in nsIX509Cert aSignerCert,
                    in AUTF8String aMsgNeckoURL,
                    in ACString originMimePartNumber);
  void encryptionStatus(in long aNestingLevel,
                        in long aEncryptionStatus,
                        in nsIX509Cert aReceipientCert,
                        in AUTF8String aMsgNeckoURL,
                        in ACString originMimePartNumber);
  void ignoreStatusFrom(in ACString originMimePartNumber);
};