summaryrefslogtreecommitdiffstats
path: root/mailnews/extensions/smime/public/nsIMsgSMIMEHeaderSink.idl
blob: ec449769a096692a25b0097a152ce94c91d31fcb (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
/* -*- 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);
  void encryptionStatus(in long aNestingLevel,
                        in long aEncryptionStatus,
                        in nsIX509Cert aReceipientCert,
                        in AUTF8String aMsgNeckoURL);

  long maxWantedNesting(); // 1 == only info on outermost nesting level wanted
};