CoreCryptoFfi

constructor(pointer: Pointer)(source)


constructor(noPointer: NoPointer)(source)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.


constructor(database: Database)(source)

Construct a new CoreCryptoFfi instance. MLS or proteus can be initialized with core_crypto::transaction_context::TransactionContext::mls_init or core_crypto::transaction_context::TransactionContext::proteus_init, respectively.