TianoCore EDK2 master
Loading...
Searching...
No Matches
HttpsSupport.h
Go to the documentation of this file.
1
10#ifndef __EFI_HTTPS_SUPPORT_H__
11#define __EFI_HTTPS_SUPPORT_H__
12
13#define HTTPS_DEFAULT_PORT 443
14
15#define HTTPS_FLAG "https://"
16
26BOOLEAN
28 IN CHAR8 *Url
29 );
30
43EFIAPI
45 IN HTTP_PROTOCOL *HttpInstance
46 );
47
59EFIAPI
61 IN OUT HTTP_PROTOCOL *HttpInstance
62 );
63
70VOID
71EFIAPI
73 IN HTTP_PROTOCOL *HttpInstance
74 );
75
89 IN OUT HTTP_PROTOCOL *HttpInstance
90 );
91
102EFIAPI
104 IN OUT HTTP_PROTOCOL *HttpInstance
105 );
106
121EFIAPI
123 IN OUT HTTP_PROTOCOL *HttpInstance,
124 IN NET_BUF *Packet
125 );
126
142EFIAPI
144 IN OUT HTTP_PROTOCOL *HttpInstance,
145 IN NET_BUF *Packet,
146 IN EFI_EVENT Timeout
147 );
148
165EFIAPI
167 IN OUT HTTP_PROTOCOL *HttpInstance,
168 OUT NET_BUF **Pdu,
169 IN EFI_EVENT Timeout
170 );
171
185EFIAPI
187 IN HTTP_PROTOCOL *HttpInstance,
188 IN EFI_EVENT Timeout
189 );
190
203EFIAPI
205 IN HTTP_PROTOCOL *HttpInstance
206 );
207
232EFIAPI
234 IN HTTP_PROTOCOL *HttpInstance,
235 IN UINT8 *Message,
236 IN UINTN MessageSize,
237 IN EFI_TLS_CRYPT_MODE ProcessMode,
238 IN OUT NET_FRAGMENT *Fragment
239 );
240
255EFIAPI
257 IN HTTP_PROTOCOL *HttpInstance,
258 IN OUT NET_FRAGMENT *Fragment,
259 IN EFI_EVENT Timeout
260 );
261
262#endif
UINT64 UINTN
EFI_STATUS EFIAPI TlsCommonTransmit(IN OUT HTTP_PROTOCOL *HttpInstance, IN NET_BUF *Packet)
Definition: HttpsSupport.c:773
EFI_STATUS EFIAPI HttpsReceive(IN HTTP_PROTOCOL *HttpInstance, IN OUT NET_FRAGMENT *Fragment, IN EFI_EVENT Timeout)
EFI_STATUS EFIAPI TlsCreateChild(IN HTTP_PROTOCOL *HttpInstance)
Definition: HttpsSupport.c:148
EFI_STATUS EFIAPI TlsReceiveOnePdu(IN OUT HTTP_PROTOCOL *HttpInstance, OUT NET_BUF **Pdu, IN EFI_EVENT Timeout)
BOOLEAN IsHttpsUrl(IN CHAR8 *Url)
Definition: HttpsSupport.c:119
EFI_STATUS TlsConfigCertificate(IN OUT HTTP_PROTOCOL *HttpInstance)
Definition: HttpsSupport.c:384
EFI_STATUS EFIAPI TlsProcessMessage(IN HTTP_PROTOCOL *HttpInstance, IN UINT8 *Message, IN UINTN MessageSize, IN EFI_TLS_CRYPT_MODE ProcessMode, IN OUT NET_FRAGMENT *Fragment)
EFI_STATUS EFIAPI TlsCreateTxRxEvent(IN OUT HTTP_PROTOCOL *HttpInstance)
Definition: HttpsSupport.c:229
EFI_STATUS EFIAPI TlsConnectSession(IN HTTP_PROTOCOL *HttpInstance, IN EFI_EVENT Timeout)
VOID EFIAPI TlsCloseTxRxEvent(IN HTTP_PROTOCOL *HttpInstance)
Definition: HttpsSupport.c:344
EFI_STATUS EFIAPI TlsCommonReceive(IN OUT HTTP_PROTOCOL *HttpInstance, IN NET_BUF *Packet, IN EFI_EVENT Timeout)
Definition: HttpsSupport.c:891
EFI_STATUS EFIAPI TlsConfigureSession(IN OUT HTTP_PROTOCOL *HttpInstance)
Definition: HttpsSupport.c:650
EFI_STATUS EFIAPI TlsCloseSession(IN HTTP_PROTOCOL *HttpInstance)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_TLS_CRYPT_MODE
Definition: Tls.h:327
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37