[#SSL_add_expected_rpk] = SSL_add_expected_rpk :mrdocs: Add a DANE TLSA record matching raw public key `rpk` to the connection's validation policy. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_add_expected_rpk( xref:SSL.adoc[SSL]* s, xref:EVP_PKEY.adoc[EVP_PKEY]* rpk); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL connection with DANE enabled (or to be enabled) that will trust `rpk.` | *rpk* | Expected peer raw public key; may be called multiple times for key rotation. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#