[#HidingSigningProvider-GetKey-01] = xref:HidingSigningProvider.adoc[HidingSigningProvider]::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, unless secrets are hidden. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool xref:HidingSigningProvider/GetKey-09.adoc[GetKey]( xref:CKeyID.adoc[CKeyID] const& keyid, xref:CKey.adoc[CKey]& key) const override; ---- [.small]#xref:HidingSigningProvider/GetKey-09.adoc[_» more..._]# == Return Value * True if the private key was found. * True if the private key was found and not hidden. == 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]#