Parse a received custom TLS extension (context-aware form).
Declared in <openssl/ssl.h>
typedef int(* SSL_custom_ext_parse_cb_ex)(SSL*, unsigned int, unsigned int, unsigned char const*, size_t, X509*, size_t, int*, void*);
1 if the extension is acceptable; 0 or negative to abort with al.
| 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 in in bytes. |
| x | Current certificate when parsing a Certificate message, else NULL. |
| chainidx | Index of x in the Certificate message (0 = end entity). |
| al | On fatal error, set to the TLS alert to send. |
| parse_arg | Application argument registered with the extension. |