[#Descriptor-HavePrivateKeys]
= xref:Descriptor.adoc[Descriptor]::HavePrivateKeys
:relfileprefix: ../
:mrdocs:

Whether the given provider has all private keys required by this descriptor&period;

== Synopsis

Declared in `&lt;script&sol;descriptor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
HavePrivateKeys(xref:SigningProvider.adoc[SigningProvider] const& provider) const = 0;
----

== Return Value

`false` if the descriptor doesn&apos;t have any keys or subdescriptors, or if the provider does not have all private keys required by the descriptor&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *provider* [in]
| The SigningProvider to query for private keys&period;
|===


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