Parse a received custom TLS extension (context‐aware form).
Synopsis
Return Value
1 if the extension is acceptable; 0 or negative to abort with al.
Parameters
Name |
Description |
s |
SSL connection parsing the message. |
ext_type |
TLS extension type being parsed. |
context |
Bitmask identifying the message and conditions for this call. |
in |
Extension payload bytes (temporary; invalid after return). |
inlen |
Length of |
x |
Current certificate when parsing a Certificate message, else NULL. |
chainidx |
Index of |
al |
On fatal error, set to the TLS alert to send. |
parse_arg |
Application argument registered with the extension. |
Created with MrDocs