[#wallet-LegacyDataSPKM-CheckDecryptionKey] = xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::CheckDecryptionKey :relfileprefix: ../../ :mrdocs: Checks whether the given master key decrypts all keys handled by this spkm. == 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 all keys handled by this spkm. == Parameters [cols="1,4"] |=== | Name| Description | *master_key* | The candidate decryption key to verify. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#