[#wallet-DescriptorScriptPubKeyMan-CheckDecryptionKey] = xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::CheckDecryptionKey :relfileprefix: ../../ :mrdocs: Checks whether the given master key decrypts this spkm's keys. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool CheckDecryptionKey(xref:wallet/CKeyingMaterial.adoc[CKeyingMaterial] const& master_key) override; ---- == Return Value true if the key decrypts this spkm's keys. == Parameters [cols="1,4"] |=== | Name| Description | *master_key* | The candidate decryption key to verify. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#