1=pod 2 3=head1 NAME 4 5ossl_property_list_to_string, ossl_global_properties_no_mirrored 6- internal property routines 7 8=head1 SYNOPSIS 9 10 #include "internal/property.h" 11 12 size_t ossl_property_list_to_string(OSSL_LIB_CTX *ctx, 13 const OSSL_PROPERTY_LIST *list, char *buf, 14 size_t bufsize); 15 16 int ossl_global_properties_no_mirrored(OSSL_LIB_CTX *libctx); 17 void ossl_global_properties_no_mirrored(OSSL_LIB_CTX *libctx); 18 19 20=head1 DESCRIPTION 21 22ossl_property_list_to_string() takes a given OSSL_PROPERTY_LIST in I<list> and 23converts it to a string. If I<buf> is non NULL then the string will be stored 24in I<buf>. The size of the buffer is provided in I<bufsize>. If I<bufsize> is 25too short then the string will be truncated. If I<buf> is NULL then the length 26of the string is still calculated and returned. If the property list has no 27properties in it then the empty string will be stored in I<buf>. 28 29ossl_global_properties_no_mirrored() checks whether mirroring of global 30properties from a parent library context is allowed for the current library 31context. 32 33ossl_global_properties_no_mirrored() prevents future mirroring of global 34properties from a parent library context for the current library context. 35 36=head1 RETURN VALUES 37 38ossl_property_list_to_string() returns the length of the string, or 0 on error. 39 40ossl_global_properties_no_mirrored() returns 1 if mirroring of global properties 41is not allowed, or 0 otherwise. 42 43=head1 HISTORY 44 45The functions described here were all added in OpenSSL 3.0. 46 47=head1 COPYRIGHT 48 49Copyright 2021 The OpenSSL Project Authors. All Rights Reserved. 50 51Licensed under the Apache License 2.0 (the "License"). You may not use 52this file except in compliance with the License. You can obtain a copy 53in the file LICENSE in the source distribution or at 54L<https://www.openssl.org/source/license.html>. 55 56=cut 57