Function libindy_sys::indy_build_schema_request[][src]

pub unsafe extern "C" fn indy_build_schema_request(
    command_handle: indy_handle_t,
    submitter_did: *const c_char,
    data: *const c_char,
    str: indy_str_cb
) -> indy_error_t

Builds a SCHEMA request. Request to add Credential's schema.

#Params command_handle: command handle to map callback to caller context. submitter_did: DID of the submitter stored in secured Wallet. data: Credential schema. { id: identifier of schema attrNames: array of attribute name strings name: Schema's name string version: Schema's version string, ver: Version of the Schema json } cb: Callback that takes command result as parameter.

#Returns Request result as json.

#Errors Common*