def sign(name, obj): ''' Returns a command that encode obj as a signed json string ''' return SignCmd(name, obj)