[#SSL_custom_ext_parse_cb_ex] = SSL_custom_ext_parse_cb_ex :mrdocs: Parse a received custom TLS extension (context‐aware form). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef int(* SSL_custom_ext_parse_cb_ex)(xref:SSL.adoc[SSL]*, unsigned int, unsigned int, unsigned char const*, size_t, xref:X509.adoc[X509]*, size_t, int*, void*); ---- == Return Value 1 if the extension is acceptable; 0 or negative to abort with `al.` == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#