summaryrefslogtreecommitdiffstats
path: root/mailnews/extensions/smime/public/nsIEncryptedSMIMEURIsSrvc.idl
blob: 4b2b7c25c827c3abfaac22e82a62aca7626bd59e (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
/* -*- 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. 
   It provides functionality to the JS UI code,
   that is only accessible from C++.
*/

#include "nsISupports.idl"

[scriptable, uuid(f86e55c9-530b-483f-91a7-10fb5b852488)]
interface nsIEncryptedSMIMEURIsService : nsISupports 
{
  /// Remember that this URI is encrypted.
  void rememberEncrypted(in AUTF8String uri);
  
  /// Forget that this URI is encrypted.
  void forgetEncrypted(in AUTF8String uri);
  
  /// Check if this URI is encrypted.
  boolean isEncrypted(in AUTF8String uri);
};