LCOV - code coverage report
Current view: directory - objdir/dist/include - nsISSLStatus.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsISSLStatus.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsISSLStatus_h__
       6                 : #define __gen_nsISSLStatus_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIX509Cert; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsISSLStatus */
      21                 : #define NS_ISSLSTATUS_IID_STR "3f1fcd83-c5a9-4cd1-a250-7676ca7c7e34"
      22                 : 
      23                 : #define NS_ISSLSTATUS_IID \
      24                 :   {0x3f1fcd83, 0xc5a9, 0x4cd1, \
      25                 :     { 0xa2, 0x50, 0x76, 0x76, 0xca, 0x7c, 0x7e, 0x34 }}
      26                 : 
      27               4 : class NS_NO_VTABLE NS_SCRIPTABLE nsISSLStatus : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISSLSTATUS_IID)
      31                 : 
      32                 :   /* readonly attribute nsIX509Cert serverCert; */
      33                 :   NS_SCRIPTABLE NS_IMETHOD GetServerCert(nsIX509Cert * *aServerCert) = 0;
      34                 : 
      35                 :   /* readonly attribute string cipherName; */
      36                 :   NS_SCRIPTABLE NS_IMETHOD GetCipherName(char * *aCipherName) = 0;
      37                 : 
      38                 :   /* readonly attribute unsigned long keyLength; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetKeyLength(PRUint32 *aKeyLength) = 0;
      40                 : 
      41                 :   /* readonly attribute unsigned long secretKeyLength; */
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetSecretKeyLength(PRUint32 *aSecretKeyLength) = 0;
      43                 : 
      44                 :   /* readonly attribute boolean isDomainMismatch; */
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetIsDomainMismatch(bool *aIsDomainMismatch) = 0;
      46                 : 
      47                 :   /* readonly attribute boolean isNotValidAtThisTime; */
      48                 :   NS_SCRIPTABLE NS_IMETHOD GetIsNotValidAtThisTime(bool *aIsNotValidAtThisTime) = 0;
      49                 : 
      50                 :   /* readonly attribute boolean isUntrusted; */
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetIsUntrusted(bool *aIsUntrusted) = 0;
      52                 : 
      53                 :   /* readonly attribute boolean isExtendedValidation; */
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetIsExtendedValidation(bool *aIsExtendedValidation) = 0;
      55                 : 
      56                 : };
      57                 : 
      58                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISSLStatus, NS_ISSLSTATUS_IID)
      59                 : 
      60                 : /* Use this macro when declaring classes that implement this interface. */
      61                 : #define NS_DECL_NSISSLSTATUS \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetServerCert(nsIX509Cert * *aServerCert); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetCipherName(char * *aCipherName); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetKeyLength(PRUint32 *aKeyLength); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetSecretKeyLength(PRUint32 *aSecretKeyLength); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetIsDomainMismatch(bool *aIsDomainMismatch); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetIsNotValidAtThisTime(bool *aIsNotValidAtThisTime); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetIsUntrusted(bool *aIsUntrusted); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetIsExtendedValidation(bool *aIsExtendedValidation); 
      70                 : 
      71                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72                 : #define NS_FORWARD_NSISSLSTATUS(_to) \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetServerCert(nsIX509Cert * *aServerCert) { return _to GetServerCert(aServerCert); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetCipherName(char * *aCipherName) { return _to GetCipherName(aCipherName); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetKeyLength(PRUint32 *aKeyLength) { return _to GetKeyLength(aKeyLength); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetSecretKeyLength(PRUint32 *aSecretKeyLength) { return _to GetSecretKeyLength(aSecretKeyLength); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetIsDomainMismatch(bool *aIsDomainMismatch) { return _to GetIsDomainMismatch(aIsDomainMismatch); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetIsNotValidAtThisTime(bool *aIsNotValidAtThisTime) { return _to GetIsNotValidAtThisTime(aIsNotValidAtThisTime); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetIsUntrusted(bool *aIsUntrusted) { return _to GetIsUntrusted(aIsUntrusted); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetIsExtendedValidation(bool *aIsExtendedValidation) { return _to GetIsExtendedValidation(aIsExtendedValidation); } 
      81                 : 
      82                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      83                 : #define NS_FORWARD_SAFE_NSISSLSTATUS(_to) \
      84                 :   NS_SCRIPTABLE NS_IMETHOD GetServerCert(nsIX509Cert * *aServerCert) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerCert(aServerCert); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetCipherName(char * *aCipherName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCipherName(aCipherName); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetKeyLength(PRUint32 *aKeyLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyLength(aKeyLength); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetSecretKeyLength(PRUint32 *aSecretKeyLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSecretKeyLength(aSecretKeyLength); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD GetIsDomainMismatch(bool *aIsDomainMismatch) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDomainMismatch(aIsDomainMismatch); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD GetIsNotValidAtThisTime(bool *aIsNotValidAtThisTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsNotValidAtThisTime(aIsNotValidAtThisTime); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetIsUntrusted(bool *aIsUntrusted) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsUntrusted(aIsUntrusted); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD GetIsExtendedValidation(bool *aIsExtendedValidation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsExtendedValidation(aIsExtendedValidation); } 
      92                 : 
      93                 : #if 0
      94                 : /* Use the code below as a template for the implementation class for this interface. */
      95                 : 
      96                 : /* Header file */
      97                 : class nsSSLStatus : public nsISSLStatus
      98                 : {
      99                 : public:
     100                 :   NS_DECL_ISUPPORTS
     101                 :   NS_DECL_NSISSLSTATUS
     102                 : 
     103                 :   nsSSLStatus();
     104                 : 
     105                 : private:
     106                 :   ~nsSSLStatus();
     107                 : 
     108                 : protected:
     109                 :   /* additional members */
     110                 : };
     111                 : 
     112                 : /* Implementation file */
     113                 : NS_IMPL_ISUPPORTS1(nsSSLStatus, nsISSLStatus)
     114                 : 
     115                 : nsSSLStatus::nsSSLStatus()
     116                 : {
     117                 :   /* member initializers and constructor code */
     118                 : }
     119                 : 
     120                 : nsSSLStatus::~nsSSLStatus()
     121                 : {
     122                 :   /* destructor code */
     123                 : }
     124                 : 
     125                 : /* readonly attribute nsIX509Cert serverCert; */
     126                 : NS_IMETHODIMP nsSSLStatus::GetServerCert(nsIX509Cert * *aServerCert)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : 
     131                 : /* readonly attribute string cipherName; */
     132                 : NS_IMETHODIMP nsSSLStatus::GetCipherName(char * *aCipherName)
     133                 : {
     134                 :     return NS_ERROR_NOT_IMPLEMENTED;
     135                 : }
     136                 : 
     137                 : /* readonly attribute unsigned long keyLength; */
     138                 : NS_IMETHODIMP nsSSLStatus::GetKeyLength(PRUint32 *aKeyLength)
     139                 : {
     140                 :     return NS_ERROR_NOT_IMPLEMENTED;
     141                 : }
     142                 : 
     143                 : /* readonly attribute unsigned long secretKeyLength; */
     144                 : NS_IMETHODIMP nsSSLStatus::GetSecretKeyLength(PRUint32 *aSecretKeyLength)
     145                 : {
     146                 :     return NS_ERROR_NOT_IMPLEMENTED;
     147                 : }
     148                 : 
     149                 : /* readonly attribute boolean isDomainMismatch; */
     150                 : NS_IMETHODIMP nsSSLStatus::GetIsDomainMismatch(bool *aIsDomainMismatch)
     151                 : {
     152                 :     return NS_ERROR_NOT_IMPLEMENTED;
     153                 : }
     154                 : 
     155                 : /* readonly attribute boolean isNotValidAtThisTime; */
     156                 : NS_IMETHODIMP nsSSLStatus::GetIsNotValidAtThisTime(bool *aIsNotValidAtThisTime)
     157                 : {
     158                 :     return NS_ERROR_NOT_IMPLEMENTED;
     159                 : }
     160                 : 
     161                 : /* readonly attribute boolean isUntrusted; */
     162                 : NS_IMETHODIMP nsSSLStatus::GetIsUntrusted(bool *aIsUntrusted)
     163                 : {
     164                 :     return NS_ERROR_NOT_IMPLEMENTED;
     165                 : }
     166                 : 
     167                 : /* readonly attribute boolean isExtendedValidation; */
     168                 : NS_IMETHODIMP nsSSLStatus::GetIsExtendedValidation(bool *aIsExtendedValidation)
     169                 : {
     170                 :     return NS_ERROR_NOT_IMPLEMENTED;
     171                 : }
     172                 : 
     173                 : /* End of implementation class template. */
     174                 : #endif
     175                 : 
     176                 : 
     177                 : #endif /* __gen_nsISSLStatus_h__ */

Generated by: LCOV version 1.7