[#MultiSigningProvider-GetKey-01] = xref:MultiSigningProvider.adoc[MultiSigningProvider]::GetKey :relfileprefix: ../ :mrdocs: `GetKey` overloads == Synopses Declared in `<script/signingprovider.h>` Look up a private key by its key id. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool xref:SigningProvider/GetKey.adoc[GetKey]( xref:CKeyID.adoc[CKeyID] const& address, xref:CKey.adoc[CKey]& key) const; ---- [.small]#xref:SigningProvider/GetKey.adoc[_» more..._]# Look up a private key by its key id across all providers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool xref:MultiSigningProvider/GetKey-08.adoc[GetKey]( xref:CKeyID.adoc[CKeyID] const& keyid, xref:CKey.adoc[CKey]& key) const override; ---- [.small]#xref:MultiSigningProvider/GetKey-08.adoc[_» more..._]# == Return Value * True if the private key was found. * True if the private key was found in any provider. == Parameters [cols="1,4"] |=== | Name| Description | *address* | The key id to retrieve the private key for. | *key* | Set to the matching private key on success. | *keyid* | The key id to retrieve the private key for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#