/work/obj-fuzz/dist/include/nsISSLSocketControl.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * DO NOT EDIT. THIS FILE IS GENERATED FROM /src/mozilla-central/netwerk/socket/nsISSLSocketControl.idl |
3 | | */ |
4 | | |
5 | | #ifndef __gen_nsISSLSocketControl_h__ |
6 | | #define __gen_nsISSLSocketControl_h__ |
7 | | |
8 | | |
9 | | #ifndef __gen_nsISupports_h__ |
10 | | #include "nsISupports.h" |
11 | | #endif |
12 | | |
13 | | #include "mozilla/AlreadyAddRefed.h" |
14 | | #include "mozilla/Assertions.h" |
15 | | #include "mozilla/DebugOnly.h" |
16 | | |
17 | | /* For IDL files that don't want to include root IDL files. */ |
18 | | #ifndef NS_NO_VTABLE |
19 | | #define NS_NO_VTABLE |
20 | | #endif |
21 | | class nsIInterfaceRequestor; /* forward declaration */ |
22 | | |
23 | | class nsIX509Cert; /* forward declaration */ |
24 | | |
25 | | #include "nsStringFwd.h" |
26 | | #include "nsTArrayForwardDeclare.h" |
27 | | |
28 | | /* starting interface: nsISSLSocketControl */ |
29 | | #define NS_ISSLSOCKETCONTROL_IID_STR "418265c8-654e-4fbb-ba62-4eed27de1f03" |
30 | | |
31 | | #define NS_ISSLSOCKETCONTROL_IID \ |
32 | | {0x418265c8, 0x654e, 0x4fbb, \ |
33 | | { 0xba, 0x62, 0x4e, 0xed, 0x27, 0xde, 0x1f, 0x03 }} |
34 | | |
35 | | class NS_NO_VTABLE nsISSLSocketControl : public nsISupports { |
36 | | public: |
37 | | |
38 | | NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISSLSOCKETCONTROL_IID) |
39 | | |
40 | | /* attribute nsIInterfaceRequestor notificationCallbacks; */ |
41 | | NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) = 0; |
42 | | NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) = 0; |
43 | | |
44 | | /* void proxyStartSSL (); */ |
45 | | NS_IMETHOD ProxyStartSSL(void) = 0; |
46 | | |
47 | | /* void StartTLS (); */ |
48 | | NS_IMETHOD StartTLS(void) = 0; |
49 | | |
50 | | /* [noscript] void setNPNList (in nsCStringTArrayRef aNPNList); */ |
51 | | NS_IMETHOD SetNPNList(nsTArray<nsCString> & aNPNList) = 0; |
52 | | |
53 | | /* readonly attribute ACString negotiatedNPN; */ |
54 | | NS_IMETHOD GetNegotiatedNPN(nsACString& aNegotiatedNPN) = 0; |
55 | | |
56 | | /* ACString getAlpnEarlySelection (); */ |
57 | | NS_IMETHOD GetAlpnEarlySelection(nsACString& _retval) = 0; |
58 | | |
59 | | /* readonly attribute bool earlyDataAccepted; */ |
60 | | NS_IMETHOD GetEarlyDataAccepted(bool *aEarlyDataAccepted) = 0; |
61 | | |
62 | | /* void driveHandshake (); */ |
63 | | NS_IMETHOD DriveHandshake(void) = 0; |
64 | | |
65 | | /* boolean joinConnection (in ACString npnProtocol, in ACString hostname, in long port); */ |
66 | | NS_IMETHOD JoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) = 0; |
67 | | |
68 | | /* boolean testJoinConnection (in ACString npnProtocol, in ACString hostname, in long port); */ |
69 | | NS_IMETHOD TestJoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) = 0; |
70 | | |
71 | | /* boolean isAcceptableForHost (in ACString hostname); */ |
72 | | NS_IMETHOD IsAcceptableForHost(const nsACString& hostname, bool *_retval) = 0; |
73 | | |
74 | | /* [infallible] readonly attribute short KEAUsed; */ |
75 | | NS_IMETHOD GetKEAUsed(int16_t *aKEAUsed) = 0; |
76 | | inline int16_t GetKEAUsed() |
77 | 0 | { |
78 | 0 | int16_t result; |
79 | 0 | mozilla::DebugOnly<nsresult> rv = GetKEAUsed(&result); |
80 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
81 | 0 | return result; |
82 | 0 | } |
83 | | |
84 | | /* [infallible] readonly attribute unsigned long KEAKeyBits; */ |
85 | | NS_IMETHOD GetKEAKeyBits(uint32_t *aKEAKeyBits) = 0; |
86 | | inline uint32_t GetKEAKeyBits() |
87 | 0 | { |
88 | 0 | uint32_t result; |
89 | 0 | mozilla::DebugOnly<nsresult> rv = GetKEAKeyBits(&result); |
90 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
91 | 0 | return result; |
92 | 0 | } |
93 | | |
94 | | enum { |
95 | | KEY_EXCHANGE_UNKNOWN = -1 |
96 | | }; |
97 | | |
98 | | /* readonly attribute uint32_t providerFlags; */ |
99 | | NS_IMETHOD GetProviderFlags(uint32_t *aProviderFlags) = 0; |
100 | | |
101 | | /* readonly attribute uint32_t providerTlsFlags; */ |
102 | | NS_IMETHOD GetProviderTlsFlags(uint32_t *aProviderTlsFlags) = 0; |
103 | | |
104 | | enum { |
105 | | SSL_VERSION_3 = 768, |
106 | | TLS_VERSION_1 = 769, |
107 | | TLS_VERSION_1_1 = 770, |
108 | | TLS_VERSION_1_2 = 771, |
109 | | TLS_VERSION_1_3 = 772, |
110 | | SSL_VERSION_UNKNOWN = -1 |
111 | | }; |
112 | | |
113 | | /* [infallible] readonly attribute short SSLVersionUsed; */ |
114 | | NS_IMETHOD GetSSLVersionUsed(int16_t *aSSLVersionUsed) = 0; |
115 | | inline int16_t GetSSLVersionUsed() |
116 | 0 | { |
117 | 0 | int16_t result; |
118 | 0 | mozilla::DebugOnly<nsresult> rv = GetSSLVersionUsed(&result); |
119 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
120 | 0 | return result; |
121 | 0 | } |
122 | | |
123 | | /* [infallible] readonly attribute short SSLVersionOffered; */ |
124 | | NS_IMETHOD GetSSLVersionOffered(int16_t *aSSLVersionOffered) = 0; |
125 | | inline int16_t GetSSLVersionOffered() |
126 | 0 | { |
127 | 0 | int16_t result; |
128 | 0 | mozilla::DebugOnly<nsresult> rv = GetSSLVersionOffered(&result); |
129 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
130 | 0 | return result; |
131 | 0 | } |
132 | | |
133 | | enum { |
134 | | SSL_MAC_UNKNOWN = -1, |
135 | | SSL_MAC_NULL = 0, |
136 | | SSL_MAC_MD5 = 1, |
137 | | SSL_MAC_SHA = 2, |
138 | | SSL_HMAC_MD5 = 3, |
139 | | SSL_HMAC_SHA = 4, |
140 | | SSL_HMAC_SHA256 = 5, |
141 | | SSL_MAC_AEAD = 6 |
142 | | }; |
143 | | |
144 | | /* [infallible] readonly attribute short MACAlgorithmUsed; */ |
145 | | NS_IMETHOD GetMACAlgorithmUsed(int16_t *aMACAlgorithmUsed) = 0; |
146 | | inline int16_t GetMACAlgorithmUsed() |
147 | 0 | { |
148 | 0 | int16_t result; |
149 | 0 | mozilla::DebugOnly<nsresult> rv = GetMACAlgorithmUsed(&result); |
150 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
151 | 0 | return result; |
152 | 0 | } |
153 | | |
154 | | /* [noscript] attribute boolean denyClientCert; */ |
155 | | NS_IMETHOD GetDenyClientCert(bool *aDenyClientCert) = 0; |
156 | | NS_IMETHOD SetDenyClientCert(bool aDenyClientCert) = 0; |
157 | | |
158 | | /* attribute nsIX509Cert clientCert; */ |
159 | | NS_IMETHOD GetClientCert(nsIX509Cert **aClientCert) = 0; |
160 | | NS_IMETHOD SetClientCert(nsIX509Cert *aClientCert) = 0; |
161 | | |
162 | | /* [infallible] readonly attribute boolean clientCertSent; */ |
163 | | NS_IMETHOD GetClientCertSent(bool *aClientCertSent) = 0; |
164 | | inline bool GetClientCertSent() |
165 | 0 | { |
166 | 0 | bool result; |
167 | 0 | mozilla::DebugOnly<nsresult> rv = GetClientCertSent(&result); |
168 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
169 | 0 | return result; |
170 | 0 | } |
171 | | |
172 | | /* [infallible] readonly attribute boolean bypassAuthentication; */ |
173 | | NS_IMETHOD GetBypassAuthentication(bool *aBypassAuthentication) = 0; |
174 | | inline bool GetBypassAuthentication() |
175 | 0 | { |
176 | 0 | bool result; |
177 | 0 | mozilla::DebugOnly<nsresult> rv = GetBypassAuthentication(&result); |
178 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
179 | 0 | return result; |
180 | 0 | } |
181 | | |
182 | | /* [infallible] readonly attribute boolean failedVerification; */ |
183 | | NS_IMETHOD GetFailedVerification(bool *aFailedVerification) = 0; |
184 | | inline bool GetFailedVerification() |
185 | 0 | { |
186 | 0 | bool result; |
187 | 0 | mozilla::DebugOnly<nsresult> rv = GetFailedVerification(&result); |
188 | 0 | MOZ_ASSERT(NS_SUCCEEDED(rv)); |
189 | 0 | return result; |
190 | 0 | } |
191 | | |
192 | | /* attribute ACString esniTxt; */ |
193 | | NS_IMETHOD GetEsniTxt(nsACString& aEsniTxt) = 0; |
194 | | NS_IMETHOD SetEsniTxt(const nsACString& aEsniTxt) = 0; |
195 | | |
196 | | /* readonly attribute boolean serverRootCertIsBuiltInRoot; */ |
197 | | NS_IMETHOD GetServerRootCertIsBuiltInRoot(bool *aServerRootCertIsBuiltInRoot) = 0; |
198 | | |
199 | | }; |
200 | | |
201 | | NS_DEFINE_STATIC_IID_ACCESSOR(nsISSLSocketControl, NS_ISSLSOCKETCONTROL_IID) |
202 | | |
203 | | /* Use this macro when declaring classes that implement this interface. */ |
204 | | #define NS_DECL_NSISSLSOCKETCONTROL \ |
205 | | NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) override; \ |
206 | | NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override; \ |
207 | | NS_IMETHOD ProxyStartSSL(void) override; \ |
208 | | NS_IMETHOD StartTLS(void) override; \ |
209 | | NS_IMETHOD SetNPNList(nsTArray<nsCString> & aNPNList) override; \ |
210 | | NS_IMETHOD GetNegotiatedNPN(nsACString& aNegotiatedNPN) override; \ |
211 | | NS_IMETHOD GetAlpnEarlySelection(nsACString& _retval) override; \ |
212 | | NS_IMETHOD GetEarlyDataAccepted(bool *aEarlyDataAccepted) override; \ |
213 | | NS_IMETHOD DriveHandshake(void) override; \ |
214 | | NS_IMETHOD JoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) override; \ |
215 | | NS_IMETHOD TestJoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) override; \ |
216 | | NS_IMETHOD IsAcceptableForHost(const nsACString& hostname, bool *_retval) override; \ |
217 | | using nsISSLSocketControl::GetKEAUsed; \ |
218 | | NS_IMETHOD GetKEAUsed(int16_t *aKEAUsed) override; \ |
219 | | using nsISSLSocketControl::GetKEAKeyBits; \ |
220 | | NS_IMETHOD GetKEAKeyBits(uint32_t *aKEAKeyBits) override; \ |
221 | | NS_IMETHOD GetProviderFlags(uint32_t *aProviderFlags) override; \ |
222 | | NS_IMETHOD GetProviderTlsFlags(uint32_t *aProviderTlsFlags) override; \ |
223 | | using nsISSLSocketControl::GetSSLVersionUsed; \ |
224 | | NS_IMETHOD GetSSLVersionUsed(int16_t *aSSLVersionUsed) override; \ |
225 | | using nsISSLSocketControl::GetSSLVersionOffered; \ |
226 | | NS_IMETHOD GetSSLVersionOffered(int16_t *aSSLVersionOffered) override; \ |
227 | | using nsISSLSocketControl::GetMACAlgorithmUsed; \ |
228 | | NS_IMETHOD GetMACAlgorithmUsed(int16_t *aMACAlgorithmUsed) override; \ |
229 | | NS_IMETHOD GetDenyClientCert(bool *aDenyClientCert) override; \ |
230 | | NS_IMETHOD SetDenyClientCert(bool aDenyClientCert) override; \ |
231 | | NS_IMETHOD GetClientCert(nsIX509Cert **aClientCert) override; \ |
232 | | NS_IMETHOD SetClientCert(nsIX509Cert *aClientCert) override; \ |
233 | | using nsISSLSocketControl::GetClientCertSent; \ |
234 | | NS_IMETHOD GetClientCertSent(bool *aClientCertSent) override; \ |
235 | | using nsISSLSocketControl::GetBypassAuthentication; \ |
236 | | NS_IMETHOD GetBypassAuthentication(bool *aBypassAuthentication) override; \ |
237 | | using nsISSLSocketControl::GetFailedVerification; \ |
238 | | NS_IMETHOD GetFailedVerification(bool *aFailedVerification) override; \ |
239 | | NS_IMETHOD GetEsniTxt(nsACString& aEsniTxt) override; \ |
240 | | NS_IMETHOD SetEsniTxt(const nsACString& aEsniTxt) override; \ |
241 | | NS_IMETHOD GetServerRootCertIsBuiltInRoot(bool *aServerRootCertIsBuiltInRoot) override; |
242 | | |
243 | | /* Use this macro when declaring the members of this interface when the |
244 | | class doesn't implement the interface. This is useful for forwarding. */ |
245 | | #define NS_DECL_NON_VIRTUAL_NSISSLSOCKETCONTROL \ |
246 | | nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks); \ |
247 | | nsresult SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks); \ |
248 | | nsresult ProxyStartSSL(void); \ |
249 | | nsresult StartTLS(void); \ |
250 | | nsresult SetNPNList(nsTArray<nsCString> & aNPNList); \ |
251 | | nsresult GetNegotiatedNPN(nsACString& aNegotiatedNPN); \ |
252 | | nsresult GetAlpnEarlySelection(nsACString& _retval); \ |
253 | | nsresult GetEarlyDataAccepted(bool *aEarlyDataAccepted); \ |
254 | | nsresult DriveHandshake(void); \ |
255 | | nsresult JoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval); \ |
256 | | nsresult TestJoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval); \ |
257 | | nsresult IsAcceptableForHost(const nsACString& hostname, bool *_retval); \ |
258 | | using nsISSLSocketControl::GetKEAUsed; \ |
259 | | nsresult GetKEAUsed(int16_t *aKEAUsed); \ |
260 | | using nsISSLSocketControl::GetKEAKeyBits; \ |
261 | | nsresult GetKEAKeyBits(uint32_t *aKEAKeyBits); \ |
262 | | nsresult GetProviderFlags(uint32_t *aProviderFlags); \ |
263 | | nsresult GetProviderTlsFlags(uint32_t *aProviderTlsFlags); \ |
264 | | using nsISSLSocketControl::GetSSLVersionUsed; \ |
265 | | nsresult GetSSLVersionUsed(int16_t *aSSLVersionUsed); \ |
266 | | using nsISSLSocketControl::GetSSLVersionOffered; \ |
267 | | nsresult GetSSLVersionOffered(int16_t *aSSLVersionOffered); \ |
268 | | using nsISSLSocketControl::GetMACAlgorithmUsed; \ |
269 | | nsresult GetMACAlgorithmUsed(int16_t *aMACAlgorithmUsed); \ |
270 | | nsresult GetDenyClientCert(bool *aDenyClientCert); \ |
271 | | nsresult SetDenyClientCert(bool aDenyClientCert); \ |
272 | | nsresult GetClientCert(nsIX509Cert **aClientCert); \ |
273 | | nsresult SetClientCert(nsIX509Cert *aClientCert); \ |
274 | | using nsISSLSocketControl::GetClientCertSent; \ |
275 | | nsresult GetClientCertSent(bool *aClientCertSent); \ |
276 | | using nsISSLSocketControl::GetBypassAuthentication; \ |
277 | | nsresult GetBypassAuthentication(bool *aBypassAuthentication); \ |
278 | | using nsISSLSocketControl::GetFailedVerification; \ |
279 | | nsresult GetFailedVerification(bool *aFailedVerification); \ |
280 | | nsresult GetEsniTxt(nsACString& aEsniTxt); \ |
281 | | nsresult SetEsniTxt(const nsACString& aEsniTxt); \ |
282 | | nsresult GetServerRootCertIsBuiltInRoot(bool *aServerRootCertIsBuiltInRoot); |
283 | | |
284 | | /* Use this macro to declare functions that forward the behavior of this interface to another object. */ |
285 | | #define NS_FORWARD_NSISSLSOCKETCONTROL(_to) \ |
286 | | NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) override { return _to GetNotificationCallbacks(aNotificationCallbacks); } \ |
287 | | NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return _to SetNotificationCallbacks(aNotificationCallbacks); } \ |
288 | | NS_IMETHOD ProxyStartSSL(void) override { return _to ProxyStartSSL(); } \ |
289 | | NS_IMETHOD StartTLS(void) override { return _to StartTLS(); } \ |
290 | | NS_IMETHOD SetNPNList(nsTArray<nsCString> & aNPNList) override { return _to SetNPNList(aNPNList); } \ |
291 | | NS_IMETHOD GetNegotiatedNPN(nsACString& aNegotiatedNPN) override { return _to GetNegotiatedNPN(aNegotiatedNPN); } \ |
292 | | NS_IMETHOD GetAlpnEarlySelection(nsACString& _retval) override { return _to GetAlpnEarlySelection(_retval); } \ |
293 | | NS_IMETHOD GetEarlyDataAccepted(bool *aEarlyDataAccepted) override { return _to GetEarlyDataAccepted(aEarlyDataAccepted); } \ |
294 | | NS_IMETHOD DriveHandshake(void) override { return _to DriveHandshake(); } \ |
295 | | NS_IMETHOD JoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) override { return _to JoinConnection(npnProtocol, hostname, port, _retval); } \ |
296 | | NS_IMETHOD TestJoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) override { return _to TestJoinConnection(npnProtocol, hostname, port, _retval); } \ |
297 | | NS_IMETHOD IsAcceptableForHost(const nsACString& hostname, bool *_retval) override { return _to IsAcceptableForHost(hostname, _retval); } \ |
298 | | using nsISSLSocketControl::GetKEAUsed; \ |
299 | | NS_IMETHOD GetKEAUsed(int16_t *aKEAUsed) override { return _to GetKEAUsed(aKEAUsed); } \ |
300 | | using nsISSLSocketControl::GetKEAKeyBits; \ |
301 | | NS_IMETHOD GetKEAKeyBits(uint32_t *aKEAKeyBits) override { return _to GetKEAKeyBits(aKEAKeyBits); } \ |
302 | | NS_IMETHOD GetProviderFlags(uint32_t *aProviderFlags) override { return _to GetProviderFlags(aProviderFlags); } \ |
303 | | NS_IMETHOD GetProviderTlsFlags(uint32_t *aProviderTlsFlags) override { return _to GetProviderTlsFlags(aProviderTlsFlags); } \ |
304 | | using nsISSLSocketControl::GetSSLVersionUsed; \ |
305 | | NS_IMETHOD GetSSLVersionUsed(int16_t *aSSLVersionUsed) override { return _to GetSSLVersionUsed(aSSLVersionUsed); } \ |
306 | | using nsISSLSocketControl::GetSSLVersionOffered; \ |
307 | | NS_IMETHOD GetSSLVersionOffered(int16_t *aSSLVersionOffered) override { return _to GetSSLVersionOffered(aSSLVersionOffered); } \ |
308 | | using nsISSLSocketControl::GetMACAlgorithmUsed; \ |
309 | | NS_IMETHOD GetMACAlgorithmUsed(int16_t *aMACAlgorithmUsed) override { return _to GetMACAlgorithmUsed(aMACAlgorithmUsed); } \ |
310 | | NS_IMETHOD GetDenyClientCert(bool *aDenyClientCert) override { return _to GetDenyClientCert(aDenyClientCert); } \ |
311 | | NS_IMETHOD SetDenyClientCert(bool aDenyClientCert) override { return _to SetDenyClientCert(aDenyClientCert); } \ |
312 | | NS_IMETHOD GetClientCert(nsIX509Cert **aClientCert) override { return _to GetClientCert(aClientCert); } \ |
313 | | NS_IMETHOD SetClientCert(nsIX509Cert *aClientCert) override { return _to SetClientCert(aClientCert); } \ |
314 | | using nsISSLSocketControl::GetClientCertSent; \ |
315 | | NS_IMETHOD GetClientCertSent(bool *aClientCertSent) override { return _to GetClientCertSent(aClientCertSent); } \ |
316 | | using nsISSLSocketControl::GetBypassAuthentication; \ |
317 | | NS_IMETHOD GetBypassAuthentication(bool *aBypassAuthentication) override { return _to GetBypassAuthentication(aBypassAuthentication); } \ |
318 | | using nsISSLSocketControl::GetFailedVerification; \ |
319 | | NS_IMETHOD GetFailedVerification(bool *aFailedVerification) override { return _to GetFailedVerification(aFailedVerification); } \ |
320 | | NS_IMETHOD GetEsniTxt(nsACString& aEsniTxt) override { return _to GetEsniTxt(aEsniTxt); } \ |
321 | | NS_IMETHOD SetEsniTxt(const nsACString& aEsniTxt) override { return _to SetEsniTxt(aEsniTxt); } \ |
322 | | NS_IMETHOD GetServerRootCertIsBuiltInRoot(bool *aServerRootCertIsBuiltInRoot) override { return _to GetServerRootCertIsBuiltInRoot(aServerRootCertIsBuiltInRoot); } |
323 | | |
324 | | /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ |
325 | | #define NS_FORWARD_SAFE_NSISSLSOCKETCONTROL(_to) \ |
326 | | NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationCallbacks(aNotificationCallbacks); } \ |
327 | | NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotificationCallbacks(aNotificationCallbacks); } \ |
328 | | NS_IMETHOD ProxyStartSSL(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProxyStartSSL(); } \ |
329 | | NS_IMETHOD StartTLS(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartTLS(); } \ |
330 | | NS_IMETHOD SetNPNList(nsTArray<nsCString> & aNPNList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNPNList(aNPNList); } \ |
331 | | NS_IMETHOD GetNegotiatedNPN(nsACString& aNegotiatedNPN) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNegotiatedNPN(aNegotiatedNPN); } \ |
332 | | NS_IMETHOD GetAlpnEarlySelection(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlpnEarlySelection(_retval); } \ |
333 | | NS_IMETHOD GetEarlyDataAccepted(bool *aEarlyDataAccepted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEarlyDataAccepted(aEarlyDataAccepted); } \ |
334 | | NS_IMETHOD DriveHandshake(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DriveHandshake(); } \ |
335 | | NS_IMETHOD JoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->JoinConnection(npnProtocol, hostname, port, _retval); } \ |
336 | | NS_IMETHOD TestJoinConnection(const nsACString& npnProtocol, const nsACString& hostname, int32_t port, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TestJoinConnection(npnProtocol, hostname, port, _retval); } \ |
337 | | NS_IMETHOD IsAcceptableForHost(const nsACString& hostname, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsAcceptableForHost(hostname, _retval); } \ |
338 | | NS_IMETHOD GetKEAUsed(int16_t *aKEAUsed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKEAUsed(aKEAUsed); } \ |
339 | | NS_IMETHOD GetKEAKeyBits(uint32_t *aKEAKeyBits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKEAKeyBits(aKEAKeyBits); } \ |
340 | | NS_IMETHOD GetProviderFlags(uint32_t *aProviderFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProviderFlags(aProviderFlags); } \ |
341 | | NS_IMETHOD GetProviderTlsFlags(uint32_t *aProviderTlsFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProviderTlsFlags(aProviderTlsFlags); } \ |
342 | | NS_IMETHOD GetSSLVersionUsed(int16_t *aSSLVersionUsed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSSLVersionUsed(aSSLVersionUsed); } \ |
343 | | NS_IMETHOD GetSSLVersionOffered(int16_t *aSSLVersionOffered) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSSLVersionOffered(aSSLVersionOffered); } \ |
344 | | NS_IMETHOD GetMACAlgorithmUsed(int16_t *aMACAlgorithmUsed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMACAlgorithmUsed(aMACAlgorithmUsed); } \ |
345 | | NS_IMETHOD GetDenyClientCert(bool *aDenyClientCert) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDenyClientCert(aDenyClientCert); } \ |
346 | | NS_IMETHOD SetDenyClientCert(bool aDenyClientCert) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDenyClientCert(aDenyClientCert); } \ |
347 | | NS_IMETHOD GetClientCert(nsIX509Cert **aClientCert) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientCert(aClientCert); } \ |
348 | | NS_IMETHOD SetClientCert(nsIX509Cert *aClientCert) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetClientCert(aClientCert); } \ |
349 | | NS_IMETHOD GetClientCertSent(bool *aClientCertSent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientCertSent(aClientCertSent); } \ |
350 | | NS_IMETHOD GetBypassAuthentication(bool *aBypassAuthentication) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBypassAuthentication(aBypassAuthentication); } \ |
351 | | NS_IMETHOD GetFailedVerification(bool *aFailedVerification) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFailedVerification(aFailedVerification); } \ |
352 | | NS_IMETHOD GetEsniTxt(nsACString& aEsniTxt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEsniTxt(aEsniTxt); } \ |
353 | | NS_IMETHOD SetEsniTxt(const nsACString& aEsniTxt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEsniTxt(aEsniTxt); } \ |
354 | | NS_IMETHOD GetServerRootCertIsBuiltInRoot(bool *aServerRootCertIsBuiltInRoot) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerRootCertIsBuiltInRoot(aServerRootCertIsBuiltInRoot); } |
355 | | |
356 | | |
357 | | #endif /* __gen_nsISSLSocketControl_h__ */ |