OUI_Object_Update_Signed()
See also: OpenObjects API
Return to Introduction  Previous page  Next page

This function is used to "unlock" and read the source of an OpenObject in the database, allowing you to send the passcode for decrypting or unlocking. It uses the format:

<MvFUNCTION NAME = "OUI_Object_Update_Signed" PARAMETERS = "code, newsource, encrypt, lock" STANDARDOUTPUTLEVEL = "" ERROROUTPUTLEVEL = "syntax,expression">  

This function is called with the parameters:

·l.code      set to the object code  
·l.newsource   this is the "unprepared" OpenToken string to be used for this object  
·l.encrypt   set to the passcode to encrypt the object so it's token string cannot be viewed (without the passcode)  
·l.lock      set to the passcode to lock the object, so it's token string cannot be modified (without the passcode)  

The return value is either a 1 (success) or 0 (failure).


*** On compiled Merchant, your Vendor ID Block must be registered (via
OUI_Register_Vendor()
) before calling this function ***

 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium