diff options
author | Richard Levitte <levitte@openssl.org> | 2020-07-08 23:04:08 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-07-24 16:32:00 +0200 |
commit | c3e4c1f325e6fc829a5b00a19a6019249cac781a (patch) | |
tree | cc05f9636e452d3fba177163cfca9d13b403a4d6 /util/other.syms | |
parent | 5dacb38ccefd45d832c9710b4dd0121fdcbdac72 (diff) |
DESERIALIZER: Add foundation for deserializers
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)
Diffstat (limited to 'util/other.syms')
-rw-r--r-- | util/other.syms | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/other.syms b/util/other.syms index 54a2b71abb..a623ff5e77 100644 --- a/util/other.syms +++ b/util/other.syms @@ -41,6 +41,12 @@ GEN_SESSION_CB datatype OPENSSL_Applink external OPENSSL_CTX datatype NAMING_AUTHORITY datatype +OSSL_DESERIALIZER datatype +OSSL_DESERIALIZER_CTX datatype +OSSL_DESERIALIZER_FINALIZER datatype +OSSL_DESERIALIZER_CLEANER datatype +OSSL_DESERIALIZER_INSTANCE datatype +OSSL_DESERIALIZER_CTX datatype OSSL_HTTP_bio_cb_t datatype OSSL_PARAM datatype OSSL_PROVIDER datatype |