[#wallet-ScriptPubKeyMan-CheckDecryptionKey] = xref:wallet.adoc[wallet]::xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]::CheckDecryptionKey :relfileprefix: ../../ :mrdocs: Check that the given decryption key is valid for this ScriptPubKeyMan, i.e. it decrypts all of the keys handled by it. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool CheckDecryptionKey(xref:wallet/CKeyingMaterial.adoc[CKeyingMaterial] const& master_key); ---- == Return Value true if the key decrypts all keys handled by this ScriptPubKeyMan. == Parameters [cols="1,4"] |=== | Name| Description | *master_key* | The candidate decryption key to verify. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#