MCHECKSIG
crypto
The MCHECKSIG
function checks if a macro signature is valid. If the macro does not contain a signature, the function returns false
just as if the macro was signed but the signature was not valid. You can use MSIGCOUNT
first to determine if the macro contains a signature or not.
MCHECKSIG is available since version 2.7.8.
See also
Signatures
Examples
<%
1
'secp256r1'
'048881ea91c761e3fc24a7463e7118a18dbc3ee623e020ad26ae9a78042326d4c52eb125d14bbc11b7caed8920537d6a7db9d2b055bce32f1c9a04fbc337151d06'
'3045022100e088df9f52d1686313a367d85c366e8312d3e3ecf09609a7f79650b377707f0702207278fb090e2c0c17e4ff3926bcd74709fff2762808b5b759375da685d522fc13'
MSIG
%>
MCHECKSIG