#[no_mangle]
pub unsafe extern "C" fn graph_deserialize_dsnp_keys(
    dsnp_keys: *const DsnpKeys
) -> FFIResult<DsnpPublicKeys, GraphError>
Expand description

Returns the deserialized dsnp keys

Safety

This function is unsafe because it dereferences a raw pointer

Arguments

  • dsnp_keys - a pointer to the dsnp keys

Returns

  • DsnpPublicKeys - the pointer to the public keys

Errors

  • GraphError - if the public keys cannot be retrieved