[][src]Function indy_crypto::ffi::bls::indy_crypto_bls_ver_key_new

#[no_mangle]
pub extern "C" fn indy_crypto_bls_ver_key_new(
    gen: *const c_void,
    sign_key: *const c_void,
    ver_key_p: *mut *const c_void
) -> ErrorCode

Creates and returns BLS ver key that corresponds to sign key.

Note: Verification key instance deallocation must be performed by calling indy_crypto_bls_ver_key_free.

Arguments

  • gen - Generator point instance
  • sign_key - Sign key instance
  • ver_key_p - Reference that will contain verification key instance pointer