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

#[no_mangle]
pub extern "C" fn indy_crypto_bls_sign_key_from_bytes(
    bytes: *const u8,
    bytes_len: usize,
    sign_key_p: *mut *const c_void
) -> ErrorCode

Creates and returns sign key from bytes representation.

Note: Sign key instance deallocation must be performed by calling indy_crypto_bls_sign_key_free

Arguments

  • bytes - Bytes buffer pointer
  • bytes_len - Bytes buffer len
  • sign_key_p - Reference that will contain sign key instance pointer