#[no_mangle]
pub unsafe extern "C" fn Java_io_projectliberty_graphsdk_Native_getPublicKeys<'local>(
    env: JNIEnv<'local>,
    _class: JClass<'local>,
    handle: jlong,
    dsnp_user_id: jlong
) -> JByteArray<'local>
Expand description

Get public keys for a user.

Arguments

  • handle - the handle to the graph state
  • dsnp_user_id - the user id to get public keys for

Returns

  • jbyteArray - the serialized public keys

Errors

  • SdkJniError - if getting public keys fails