[][src]Function didkit::c::didkit_vc_generate_ed25519_key

#[no_mangle]pub extern "C" fn didkit_vc_generate_ed25519_key() -> *const c_char

Generate a new Ed25519 keypair in JWK format. On success, returns a pointer to a newly-allocated string containing the JWK. The string must be freed with didkit_free_string. On failure, returns NULL; the error message can be retrieved with didkit_error_message.