Hi,

How difficult is it to have a blob in memory which contains a binary image
of an SQLite disk database, from which to create an instance of an SQLite
memory database?

IOW, instead of creating an empty memory database and then populating it
with data, I want to go from a blob of memory to an application-specific
fully populated memory database.

For those who are familar with OpenSSL programming, I'm talking about
something similar to its BIO_s_mem, into which one can stuff a binary
string representing the serialisation of, say, an X.509 cert, and create (a
pointer to) an X509 struct out of it.

An idiomatic usage in OpenSSL's context is to keep a trusted CA cert or RSA
public key within the application binary, instead of in a disk file which
can be edited.

TIA. Cheers.

-- 
Ng Pheng Siong <[EMAIL PROTECTED]> 

http://firewall.rulemaker.net -+- Firewall Change Management & Version Control
http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to