[][src]Function indy_crypto::ffi::cl::indy_crypto_cl_nonce_from_json

#[no_mangle]
pub extern "C" fn indy_crypto_cl_nonce_from_json(
    nonce_json: *const c_char,
    nonce_p: *mut *const c_void
) -> ErrorCode

Creates and returns nonce json.

Note: Nonce instance deallocation must be performed by calling indy_crypto_cl_nonce_free.

Arguments

  • nonce_json - Reference that contains nonce json.
  • nonce_p - Reference that will contain nonce instance pointer.