[−][src]Function indy_crypto::ffi::bls::indy_crypto_bls_sign
#[no_mangle]pub extern "C" fn indy_crypto_bls_sign(
message: *const u8,
message_len: usize,
sign_key: *const c_void,
signature_p: *mut *const c_void
) -> ErrorCode
Signs the message and returns signature.
Note: allocated buffer referenced by (signature_p, signature_len_p) must be deallocated by calling indy_crypto_bls_free_array.
Arguments
message
- Message to sign buffer pointermessage_len
- Message to sign buffer lensign_key
- Pointer to Sign Key instancesignature_p
- Reference that will contain Signture Instance pointer