mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
c3e4c1f325
This adds a method OSSL_DESERIALIZER, a deserializer context and basic support to use a set of serializers to get a desired type of data, as well as deserializer chains. The idea is that the caller can call OSSL_DESERIALIZER_CTX_add_serializer() to set up the set of desired results, and to add possible chains, call OSSL_DESERIALIZER_CTX_add_extra(). All these deserializers are pushed on an internal stack. The actual deserialization is then performed using functions like OSSL_DESERIALIZER_from_bio(). When performing deserialization, the inernal stack is walked backwards, keeping track of the deserialized data and its type along the way, until the data kan be processed into the desired type of data. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12410) |
||
---|---|---|
.. | ||
__DECC_INCLUDE_EPILOGUE.H | ||
__DECC_INCLUDE_PROLOGUE.H | ||
bio.h | ||
comp.h | ||
conf.h | ||
constant_time.h | ||
core.h | ||
cryptlib.h | ||
dane.h | ||
deprecated.h | ||
der.h | ||
dso.h | ||
dsoerr.h | ||
endian.h | ||
err.h | ||
evp.h | ||
ffc.h | ||
ktls.h | ||
namemap.h | ||
nelem.h | ||
numbers.h | ||
o_dir.h | ||
packet.h | ||
param_build_set.h | ||
property.h | ||
propertyerr.h | ||
provider.h | ||
refcount.h | ||
sha3.h | ||
sizes.h | ||
sm3.h | ||
sockets.h | ||
sslconf.h | ||
symhacks.h | ||
thread_once.h | ||
tlsgroups.h | ||
tsan_assist.h |