REBOL Programming/dsa-verify-signature

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

DSA-VERIFY-SIGNATURE obj data signature 

DESCRIPTION:[edit]

Verifies if the DSA signature of a binary is correct

DSA-VERIFY-SIGNATURE is a native value.

ARGUMENTS[edit]

  • 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]

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"
]

{{BookCat}}