1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6
7/* This is a private interface used exclusively by SMIME. NO ONE outside of extensions/smime
8   or the hard coded smime decryption files in mime/src should have any knowledge nor should
9   be referring to this interface.
10*/
11
12#include "nsISupports.idl"
13
14interface nsIX509Cert;
15
16[scriptable, uuid(25380FA1-E70C-4e82-B0BC-F31C2F41C470)]
17interface nsIMsgSMIMEHeaderSink : nsISupports
18{
19  void signedStatus(in long aNestingLevel,
20                    in long aSignatureStatus,
21                    in nsIX509Cert aSignerCert,
22                    in AUTF8String aMsgNeckoURL);
23  void encryptionStatus(in long aNestingLevel,
24                        in long aEncryptionStatus,
25                        in nsIX509Cert aReceipientCert,
26                        in AUTF8String aMsgNeckoURL);
27
28  long maxWantedNesting(); // 1 == only info on outermost nesting level wanted
29};
30