bbs/bbs_ffi_bindings
library
Classes
-
BbsBindings
-
A class providing FFI bindings for interacting with the native BBS+ cryptographic library.
Typedefs
-
bbs_create_proof_context_add_proof_message_bytes_native
= Int32 Function(Uint64 handle, ByteArray message, Int32 xtype, ByteArray blinding, Pointer<ExternError> err)
-
Native function signature for
bbs_create_proof_context_add_proof_message_bytes
.
-
bbs_create_proof_context_finish_native
= Int32 Function(Uint64 handle, Pointer<ByteBuffer> proof, Pointer<ExternError> err)
-
Native function signature for
bbs_create_proof_context_finish
.
-
bbs_create_proof_context_init_native
= Uint64 Function(Pointer<ExternError> err)
-
Native function signature for initializing a BBS+ proof context.
-
bbs_create_proof_context_set_nonce_bytes_native
= Int32 Function(Uint64 handle, ByteArray value, Pointer<ExternError> err)
-
Native function signature for setting the nonce bytes in a BBS+ proof creation context.
-
bbs_create_proof_context_set_public_key_native
= Int32 Function(Uint64 handle, ByteArray value, Pointer<ExternError> err)
-
Native function signature for setting the public key in a BBS+ proof creation context.
-
bbs_create_proof_context_set_signature_native
= Int32 Function(Uint64 handle, ByteArray value, Pointer<ExternError> err)
-
Native function signature for setting the signature in a BBS+ proof creation context.
-
bbs_create_proof_context_size_native
= Int32 Function(Uint64 handle)
-
Native function signature for
bbs_create_proof_context_size
.
-
bbs_create_proof_size_native
= Int32 Function(Uint64 handle)
-
Native function signature for retrieving the size of a BBS+ proof.
-
BbsCreateProofContextAddProofMessageBytes
= int Function(int handle, ByteArray message, int xtype, ByteArray blinding, Pointer<ExternError> err)
-
Dart typedef for adding proof message bytes to the context.
-
BbsCreateProofContextFinish
= int Function(int handle, Pointer<ByteBuffer> proof, Pointer<ExternError> err)
-
Dart typedef for the
bbs_create_proof_context_finish
function.
-
BbsCreateProofContextInit
= int Function(Pointer<ExternError> err)
-
Dart-friendly typedef for initializing a BBS+ proof context.
-
BbsCreateProofContextSetNonceBytes
= int Function(int handle, ByteArray value, Pointer<ExternError> err)
-
Dart-friendly typedef for setting the nonce bytes in a BBS+ proof creation context.
-
BbsCreateProofContextSetPublicKey
= int Function(int handle, ByteArray value, Pointer<ExternError> err)
-
Dart-friendly typedef for setting the public key in a BBS+ proof creation context.
-
BbsCreateProofContextSetSignature
= int Function(int handle, ByteArray value, Pointer<ExternError> err)
-
Dart-friendly typedef for setting the signature in a BBS+ proof creation context.
-
BbsCreateProofContextSize
= int Function(int handle)
-
Dart typedef for use with the
bbs_create_proof_context_size
native function.
-
BbsCreateProofSize
= int Function(int handle)
-
Dart-friendly typedef for retrieving the size of a BBS+ proof.
-
bls_public_key_to_bbs_key_native
= Int32 Function(ByteArray dPublicKey, Uint32 messageCount, Pointer<ByteBuffer> publicKeyOut, Pointer<ExternError> err)
-
Native function signature for converting a BLS public key to a BBS+ public key.
-
BlsGenerateG2Key
= int Function(ByteArray seed, Pointer<ByteBuffer> publicKey, Pointer<ByteBuffer> secretKey, Pointer<ExternError> err)
-
Dart-friendly typedef for generating a BLS G2 keypair.
-
BlsGenerateG2KeyNative
= Int32 Function(ByteArray seed, Pointer<ByteBuffer> publicKey, Pointer<ByteBuffer> secretKey, Pointer<ExternError> err)
-
Native function signature for generating a BLS G2 keypair.
-
BlsPublicKeyToBbsKey
= int Function(ByteArray dPublicKey, int messageCount, Pointer<ByteBuffer> publicKeyOut, Pointer<ExternError> err)
-
Dart-friendly typedef for converting a BLS public key to a BBS+ public key.