Add missing documentation of OSSL_FUNC_store_export_object()
authorTomas Mraz <tomas@openssl.org>
Thu, 7 Apr 2022 14:48:06 +0000 (16:48 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 28 Jun 2022 15:54:56 +0000 (17:54 +0200)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17554)

doc/man7/provider-storemgmt.pod

index d38e8e53d70028bb1b5ec9332d2503c9f8aad06c..611f24930c0ad41cb809afa6cf9045ae8164d6d0 100644 (file)
@@ -105,6 +105,15 @@ further loading.
 
 OSSL_FUNC_store_close() frees the provider side context I<ctx>.
 
+When a provider-native object is created by a store manager it would be unsuitable
+for direct use with a foreign provider. The export function allows for
+exporting the object to that foreign provider if the foreign provider
+supports the type of the object and provides an import function.
+
+OSSL_FUNC_store_export_object() should export the object of size I<objref_sz>
+referenced by I<objref> as an B<OSSL_PARAM> array and pass that to the
+I<export_cb> as well as the given I<export_cbarg>.
+
 =head2 Load Parameters
 
 =over 4