[#NETSCAPE_SPKI_verify]
= NETSCAPE&lowbar;SPKI&lowbar;verify
:mrdocs:

Verify the signature on a Netscape Signed Public Key and Challenge (SPKI) structure&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
NETSCAPE&lowbar;SPKI&lowbar;verify(
    xref:NETSCAPE_SPKI.adoc[NETSCAPE&lowbar;SPKI]* a,
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]* r);
----

== Return Value

1 if the signature is valid, 0 if invalid, or a negative value on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| SPKI structure whose signature is checked&period;
| *r*
| Public key expected to have signed `a&period;`
|===


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