HidingSigningProvider::GetKey

GetKey overloads

Synopses

Declared in <script/signingprovider.h>

Look up a private key by its key id.

virtual
bool
GetKey(
    CKeyID const& address,
    CKey& key) const;
» more...

Look up a private key by its key id, unless secrets are hidden.

virtual
bool
GetKey(
    CKeyID const& keyid,
    CKey& key) const override;
» more...

Return Value

  • True if the private key was found.
  • True if the private key was found and not hidden.

Parameters

NameDescription
addressThe key id to retrieve the private key for.
keySet to the matching private key on success.
keyidThe key id to retrieve the private key for.