STORE (was: get type of PEM data)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <d8941512-76a1-5871-afa0-68b513c834c2@xxxxxxxxxxxxxxxxxxxx> on Fri, 30 Mar 2018 10:29:52 -0700, Jordan Brown <openssl@xxxxxxxxxxxxxxxxxxxx> said:

openssl> [re STORE design]
openssl> To be clear: it doesn't bother me one way or the other. It
openssl> just seemed like the general design for "reading data from a
openssl> stream" for OpenSSL is to read from a BIO, rather than
openssl> directly providing "read from file", "read from memory
openssl> buffer", et cetera. I was surprised to see a new feature that
openssl> didn't follow that pattern. I *do* need "read from memory"
openssl> for my application, but writing a temporary file would not be
openssl> a problem.

Well, thing is that the source of data might not be something that
lends itself well for a BIO interface...  For example certificates and
keys hidden by an HSM of some sort.  So the STORE is an abstraction of
any sort of storage for that kind of protected data, and to directly
translate it to usable objects, something that would be quite
difficult with the BIO API.

Cheers,
Richard

-- 
Richard Levitte         levitte@xxxxxxxxxxx
OpenSSL Project         http://www.openssl.org/~levitte/
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux