[#MultiSigningProvider-GetKey-08]
= xref:MultiSigningProvider.adoc[MultiSigningProvider]::GetKey
:relfileprefix: ../
:mrdocs:

Look up a private key by its key id across all providers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
GetKey(
    xref:CKeyID.adoc[CKeyID] const& keyid,
    xref:CKey.adoc[CKey]& key) const override;
----

== Return Value

True if the private key was found in any provider&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *keyid*
| The key id to retrieve the private key for&period;
| *key*
| Set to the matching private key on success&period;
|===


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