[#HidingSigningProvider-SetMuSig2SecNonce]
= xref:HidingSigningProvider.adoc[HidingSigningProvider]::SetMuSig2SecNonce
:relfileprefix: ../
:mrdocs:

Store a MuSig2 secret nonce for a signing session&period;

== Synopsis

Declared in `&lt;script&sol;signingprovider&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
SetMuSig2SecNonce(
    xref:uint256.adoc[uint256] const& id,
    xref:MuSig2SecNonce.adoc[MuSig2SecNonce]&& nonce) const override;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| The session id to store the nonce under&period;
| *nonce*
| The secret nonce to store&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
