1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
use super::*; use {CString, Error, Handle}; extern { #[no_mangle] pub fn indy_create_and_store_my_did(command_handle: Handle, wallet_handle: Handle, did_info: CString, cb: Option<ResponseStringStringCB>) -> Error; #[no_mangle] pub fn indy_replace_keys_start(command_handle: Handle, wallet_handle: Handle, did: CString, key_info: CString, cb: Option<ResponseStringCB>) -> Error; #[no_mangle] pub fn indy_replace_keys_apply(command_handle: Handle, wallet_handle: Handle, did: CString, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_store_their_did(command_handle: Handle, wallet_handle: Handle, identity_json: CString, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_key_for_did(command_handle: Handle, pool_handle: Handle, wallet_handle: Handle, did: CString, cb: Option<ResponseStringCB>) -> Error; #[no_mangle] pub fn indy_key_for_local_did(command_handle: Handle, wallet_handle: Handle, did: CString, cb: Option<ResponseStringCB>) -> Error; #[no_mangle] pub fn indy_set_endpoint_for_did(command_handle: Handle, wallet_handle: Handle, did: CString, address: CString, transport_key: CString, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_get_endpoint_for_did(command_handle: Handle, wallet_handle: Handle, pool_handle: Handle, did: CString, cb: Option<ResponseStringStringCB>) -> Error; #[no_mangle] pub fn indy_set_did_metadata(command_handle: Handle, wallet_handle: Handle, did: CString, metadata: CString, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_get_did_metadata(command_handle: Handle, wallet_handle: Handle, did: CString, cb: Option<ResponseStringCB>) -> Error; #[no_mangle] pub fn indy_get_my_did_with_meta(command_handle: Handle, wallet_handle: Handle, my_did: CString, cb: Option<ResponseStringCB>) -> Error; #[no_mangle] pub fn indy_list_my_dids_with_meta(command_handle: Handle, wallet_handle: Handle, cb: Option<ResponseStringCB>) -> Error; #[no_mangle] pub fn indy_abbreviate_verkey(command_handle: Handle, did: CString, full_verkey: CString, cb: Option<ResponseStringCB>) -> Error; }