Jump to content

Rebol Programming/dsa-verify-signature

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
DSA-VERIFY-SIGNATURE obj data signature 

DESCRIPTION:

[edit | edit source]

Verifies if the DSA signature of a binary is correct

DSA-VERIFY-SIGNATURE is a native value.

ARGUMENTS

[edit | edit source]
  • obj -- The DSA key object (Type: object)
  • data -- Data to which the signature applies (Type: binary)
  • signature -- Signature to check (Type: object)

SOURCE CODE

[edit | edit source]
dsa-verify-signature: native[
    {Verifies if the DSA signature of a binary is correct} 
    obj [object!] "The DSA key object" 
    data [binary!] "Data to which the signature applies" 
    signature [object!] "Signature to check"
]