[#NETSCAPE_SPKI_set_pubkey] = NETSCAPE_SPKI_set_pubkey :mrdocs: Set the public key in a Netscape SPKI structure from `pkey.` == Synopsis Declared in `<openssl/x509.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int NETSCAPE_SPKI_set_pubkey( xref:NETSCAPE_SPKI.adoc[NETSCAPE_SPKI]* x, xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *x* | SPKI whose SPKAC public‐key field is replaced. | *pkey* | Public key (or key pair) whose public component is encoded into `x.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#