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

Expand the private key for a descriptor at a specified position, if possible&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
ExpandPrivate(
    int pos,
    xref:SigningProvider.adoc[SigningProvider] const& provider,
    xref:FlatSigningProvider.adoc[FlatSigningProvider]& out) const = 0;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pos* [in]
| The position at which to expand the descriptor&period; If IsRange() is false, this is ignored&period;
| *provider* [in]
| The provider to query for the private keys&period;
| *out* [out]
| Any private keys available for the specified `pos`&period;
|===


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