[#NETSCAPE_SPKI_b64_decode]
= NETSCAPE&lowbar;SPKI&lowbar;b64&lowbar;decode
:mrdocs:

Decode a base64&hyphen;encoded Netscape SPKI structure from a string&period;

== Synopsis

Declared in `&lt;openssl&sol;x509&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:NETSCAPE_SPKI.adoc[NETSCAPE&lowbar;SPKI]*
NETSCAPE&lowbar;SPKI&lowbar;b64&lowbar;decode(
    char const* str,
    int len);
----

== Return Value

Newly allocated NETSCAPE&lowbar;SPKI, or NULL on error&semi; free with NETSCAPE&lowbar;SPKI&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| Base64 text of a SignedPublicKeyAndChallenge&period;
| *len*
| Length of `str` in bytes, or &hyphen;1 if `str` is NUL&hyphen;terminated&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
