span> <span>&#45;&gt;</span> <span>unit Ctypes_static.ptr</span> <span>&#45;&gt;</span> Unsigned.size_t <span>&#45;&gt;</span> Unsigned.size_t</code></dt><dd><p><code>sas_get_pubkey sas pubkey pubkey_len</code></p><p>Get the public key for the SAS object. Takes a buffer in which to store the public key, which must be of at least `olm_sas_pubkey_length()`.</p><p>Returns `olm_error()` on failure. If the `pubkey` buffer is too small, then `olm_sas_last_error()` will be `OUTPUT_BUFFER_TOO_SMALL`.</p></dd></dl><