[#SSL_get0_dane_tlsa] = SSL_get0_dane_tlsa :mrdocs: Return the matching DANE TLSA record fields after successful authentication. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_get0_dane_tlsa( xref:SSL.adoc[SSL]* s, uint8_t* usage, uint8_t* selector, uint8_t* mtype, unsigned char const** data, size_t* dlen); ---- == Return Value Nonnegative chain depth of the match on success, or a negative value if DANE failed or was not enabled. == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL connection that completed DANE peer authentication. | *usage* | Optional; receives the TLSA certificate usage of the matching record. | *selector* | Optional; receives the TLSA selector of the matching record. | *mtype* | Optional; receives the TLSA matching type of the matching record. | *data* | Optional; receives a pointer to the matching association data (do not free). | *dlen* | Optional; receives the length of `data` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#