DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mozilla/security/manager/ssl/nsINSSComponent.idl
 */

#ifndef __gen_nsINSSComponent_h__
#define __gen_nsINSSComponent_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
#include "cert.h"
#include "SharedCertVerifier.h"
#define PSM_COMPONENT_CONTRACTID "@mozilla.org/psm;1"
class nsIX509CertList; /* forward declaration */


/* starting interface:    nsINSSComponent */
#define NS_INSSCOMPONENT_IID_STR "a0a8f52b-ea18-4abc-a3ca-eccf704ffe63"

#define NS_INSSCOMPONENT_IID \
  {0xa0a8f52b, 0xea18, 0x4abc, \
    { 0xa3, 0xca, 0xec, 0xcf, 0x70, 0x4f, 0xfe, 0x63 }}

class NS_NO_VTABLE nsINSSComponent : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INSSCOMPONENT_IID)

  /* [noscript] void logoutAuthenticatedPK11 (); */
  NS_IMETHOD LogoutAuthenticatedPK11(void) = 0;

  /* [noscript] bool isCertTestBuiltInRoot (in CERTCertificatePtr cert); */
  NS_IMETHOD IsCertTestBuiltInRoot(CERTCertificate * cert, bool *_retval) = 0;

  /* [noscript] bool isCertContentSigningRoot (in CERTCertificatePtr cert); */
  NS_IMETHOD IsCertContentSigningRoot(CERTCertificate * cert, bool *_retval) = 0;

  /* [noscript] nsIX509CertList getEnterpriseRoots (); */
  NS_IMETHOD GetEnterpriseRoots(nsIX509CertList **_retval) = 0;

  /* [noscript] void trustLoaded3rdPartyRoots (); */
  NS_IMETHOD TrustLoaded3rdPartyRoots(void) = 0;

  /* [noscript] void blockUntilLoadableRootsLoaded (); */
  NS_IMETHOD BlockUntilLoadableRootsLoaded(void) = 0;

  /* [noscript] void checkForSmartCardChanges (); */
  NS_IMETHOD CheckForSmartCardChanges(void) = 0;

  /* [noscript] void issuerMatchesMitmCanary (in string certIssuer); */
  NS_IMETHOD IssuerMatchesMitmCanary(const char * certIssuer) = 0;

  /* [noscript] bool hasActiveSmartCards (); */
  NS_IMETHOD HasActiveSmartCards(bool *_retval) = 0;

  /* [noscript] bool hasUserCertsInstalled (); */
  NS_IMETHOD HasUserCertsInstalled(bool *_retval) = 0;

  /* [noscript] SharedCertVerifierPtr getDefaultCertVerifier (); */
  NS_IMETHOD GetDefaultCertVerifier(mozilla::psm::SharedCertVerifier * * _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINSSComponent, NS_INSSCOMPONENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINSSCOMPONENT \
  NS_IMETHOD LogoutAuthenticatedPK11(void) override; \
  NS_IMETHOD IsCertTestBuiltInRoot(CERTCertificate * cert, bool *_retval) override; \
  NS_IMETHOD IsCertContentSigningRoot(CERTCertificate * cert, bool *_retval) override; \
  NS_IMETHOD GetEnterpriseRoots(nsIX509CertList **_retval) override; \
  NS_IMETHOD TrustLoaded3rdPartyRoots(void) override; \
  NS_IMETHOD BlockUntilLoadableRootsLoaded(void) override; \
  NS_IMETHOD CheckForSmartCardChanges(void) override; \
  NS_IMETHOD IssuerMatchesMitmCanary(const char * certIssuer) override; \
  NS_IMETHOD HasActiveSmartCards(bool *_retval) override; \
  NS_IMETHOD HasUserCertsInstalled(bool *_retval) override; \
  NS_IMETHOD GetDefaultCertVerifier(mozilla::psm::SharedCertVerifier * * _retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSINSSCOMPONENT \
  nsresult LogoutAuthenticatedPK11(void); \
  nsresult IsCertTestBuiltInRoot(CERTCertificate * cert, bool *_retval); \
  nsresult IsCertContentSigningRoot(CERTCertificate * cert, bool *_retval); \
  nsresult GetEnterpriseRoots(nsIX509CertList **_retval); \
  nsresult TrustLoaded3rdPartyRoots(void); \
  nsresult BlockUntilLoadableRootsLoaded(void); \
  nsresult CheckForSmartCardChanges(void); \
  nsresult IssuerMatchesMitmCanary(const char * certIssuer); \
  nsresult HasActiveSmartCards(bool *_retval); \
  nsresult HasUserCertsInstalled(bool *_retval); \
  nsresult GetDefaultCertVerifier(mozilla::psm::SharedCertVerifier * * _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINSSCOMPONENT(_to) \
  NS_IMETHOD LogoutAuthenticatedPK11(void) override { return _to LogoutAuthenticatedPK11(); } \
  NS_IMETHOD IsCertTestBuiltInRoot(CERTCertificate * cert, bool *_retval) override { return _to IsCertTestBuiltInRoot(cert, _retval); } \
  NS_IMETHOD IsCertContentSigningRoot(CERTCertificate * cert, bool *_retval) override { return _to IsCertContentSigningRoot(cert, _retval); } \
  NS_IMETHOD GetEnterpriseRoots(nsIX509CertList **_retval) override { return _to GetEnterpriseRoots(_retval); } \
  NS_IMETHOD TrustLoaded3rdPartyRoots(void) override { return _to TrustLoaded3rdPartyRoots(); } \
  NS_IMETHOD BlockUntilLoadableRootsLoaded(void) override { return _to BlockUntilLoadableRootsLoaded(); } \
  NS_IMETHOD CheckForSmartCardChanges(void) override { return _to CheckForSmartCardChanges(); } \
  NS_IMETHOD IssuerMatchesMitmCanary(const char * certIssuer) override { return _to IssuerMatchesMitmCanary(certIssuer); } \
  NS_IMETHOD HasActiveSmartCards(bool *_retval) override { return _to HasActiveSmartCards(_retval); } \
  NS_IMETHOD HasUserCertsInstalled(bool *_retval) override { return _to HasUserCertsInstalled(_retval); } \
  NS_IMETHOD GetDefaultCertVerifier(mozilla::psm::SharedCertVerifier * * _retval) override { return _to GetDefaultCertVerifier(_retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINSSCOMPONENT(_to) \
  NS_IMETHOD LogoutAuthenticatedPK11(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LogoutAuthenticatedPK11(); } \
  NS_IMETHOD IsCertTestBuiltInRoot(CERTCertificate * cert, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCertTestBuiltInRoot(cert, _retval); } \
  NS_IMETHOD IsCertContentSigningRoot(CERTCertificate * cert, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCertContentSigningRoot(cert, _retval); } \
  NS_IMETHOD GetEnterpriseRoots(nsIX509CertList **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnterpriseRoots(_retval); } \
  NS_IMETHOD TrustLoaded3rdPartyRoots(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TrustLoaded3rdPartyRoots(); } \
  NS_IMETHOD BlockUntilLoadableRootsLoaded(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BlockUntilLoadableRootsLoaded(); } \
  NS_IMETHOD CheckForSmartCardChanges(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckForSmartCardChanges(); } \
  NS_IMETHOD IssuerMatchesMitmCanary(const char * certIssuer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IssuerMatchesMitmCanary(certIssuer); } \
  NS_IMETHOD HasActiveSmartCards(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasActiveSmartCards(_retval); } \
  NS_IMETHOD HasUserCertsInstalled(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasUserCertsInstalled(_retval); } \
  NS_IMETHOD GetDefaultCertVerifier(mozilla::psm::SharedCertVerifier * * _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultCertVerifier(_retval); } 


#endif /* __gen_nsINSSComponent_h__ */