X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FX509_dup.pod;h=a92d82098d2464472925e7be086fb05a262cbbbb;hp=19fb7a7a9be199bc5d2b4f2e816f857e22290798;hb=d9321c09ea0b1231d9752935e15eb05231ae147a;hpb=9b977675adfd46405e11ee53f18953d7e782d4de diff --git a/doc/man3/X509_dup.pod b/doc/man3/X509_dup.pod index 19fb7a7a9b..a92d82098d 100644 --- a/doc/man3/X509_dup.pod +++ b/doc/man3/X509_dup.pod @@ -52,12 +52,18 @@ EDIPARTYNAME_new, ESS_CERT_ID_dup, ESS_CERT_ID_free, ESS_CERT_ID_new, +ESS_CERT_ID_V2_dup, +ESS_CERT_ID_V2_free, +ESS_CERT_ID_V2_new, ESS_ISSUER_SERIAL_dup, ESS_ISSUER_SERIAL_free, ESS_ISSUER_SERIAL_new, ESS_SIGNING_CERT_dup, ESS_SIGNING_CERT_free, ESS_SIGNING_CERT_new, +ESS_SIGNING_CERT_V2_dup, +ESS_SIGNING_CERT_V2_free, +ESS_SIGNING_CERT_V2_new, EXTENDED_KEY_USAGE_free, EXTENDED_KEY_USAGE_new, GENERAL_NAMES_free, @@ -75,7 +81,11 @@ IPAddressOrRange_free, IPAddressOrRange_new, IPAddressRange_free, IPAddressRange_new, +ISSUER_SIGN_TOOL_free, +ISSUER_SIGN_TOOL_it, +ISSUER_SIGN_TOOL_new, ISSUING_DIST_POINT_free, +ISSUING_DIST_POINT_it, ISSUING_DIST_POINT_new, NAME_CONSTRAINTS_free, NAME_CONSTRAINTS_new, @@ -116,14 +126,18 @@ OCSP_SIGNATURE_free, OCSP_SIGNATURE_new, OCSP_SINGLERESP_free, OCSP_SINGLERESP_new, +OSSL_CMP_ITAV_dup, OSSL_CMP_ITAV_free, OSSL_CMP_MSG_dup, -OSSL_CMP_MSG_free, OSSL_CMP_MSG_it, +OSSL_CMP_MSG_free, OSSL_CMP_PKIHEADER_free, OSSL_CMP_PKIHEADER_it, OSSL_CMP_PKIHEADER_new, +OSSL_CMP_PKISI_dup, OSSL_CMP_PKISI_free, +OSSL_CMP_PKISI_it, +OSSL_CMP_PKISI_new, OSSL_CMP_PKISTATUS_it, OSSL_CRMF_CERTID_free, OSSL_CRMF_CERTID_it, @@ -242,17 +256,15 @@ TS_TST_INFO_new, USERNOTICE_free, USERNOTICE_new, X509_ALGOR_free, +X509_ALGOR_it, X509_ALGOR_new, X509_ATTRIBUTE_dup, X509_ATTRIBUTE_free, X509_ATTRIBUTE_new, -X509_CERT_AUX_dup, X509_CERT_AUX_free, X509_CERT_AUX_new, -X509_CINF_dup, X509_CINF_free, X509_CINF_new, -X509_CRL_INFO_dup, X509_CRL_INFO_free, X509_CRL_INFO_new, X509_CRL_dup, @@ -267,7 +279,6 @@ X509_NAME_ENTRY_new, X509_NAME_dup, X509_NAME_free, X509_NAME_new, -X509_REQ_INFO_dup, X509_REQ_INFO_free, X509_REQ_INFO_new, X509_REQ_dup, @@ -276,7 +287,6 @@ X509_REQ_new, X509_REVOKED_dup, X509_REVOKED_free, X509_REVOKED_new, -X509_SIG_dup, X509_SIG_free, X509_SIG_new, X509_VAL_free, @@ -286,7 +296,7 @@ X509_dup, =head1 SYNOPSIS -=for comment generic +=for openssl generic #include @@ -303,8 +313,8 @@ X509_dup, =head1 DESCRIPTION -In the description below, I is used -as a placeholder for any of the OpenSSL datatypes, such as I. +In the description below, B> is used +as a placeholder for any of the OpenSSL datatypes, such as B. The OpenSSL ASN1 parsing library templates are like a data-driven bytecode interpreter. @@ -320,29 +330,30 @@ The macro IMPLEMENT_ASN1_FUNCTIONS() is used once in a source file to generate the function bodies. -TYPE_new() allocates an empty object of the indicated type. -The object returned must be released by calling TYPE_free(). +B_new>() allocates an empty object of the indicated type. +The object returned must be released by calling B_free>(). -TYPE_dup() copies an existing object, leaving it untouched. +B_dup>() copies an existing object, leaving it untouched. -TYPE_free() releases the object and all pointers and sub-objects +B_free>() releases the object and all pointers and sub-objects within it. -TYPE_print_ctx() prints the object B on the specified BIO B. -Each line will be prefixed with B spaces. -The B specifies the printing context and is for internal +B_print_ctx>() prints the object I on the specified BIO I. +Each line will be prefixed with I spaces. +The I specifies the printing context and is for internal use; use NULL to get the default behavior. If a print function is -user-defined, then pass in any B down to any nested calls. +user-defined, then pass in any I down to any nested calls. =head1 RETURN VALUES -TYPE_new() and TYPE_dup() return a pointer to the object or NULL on failure. +B_new>() and B_dup>() return a pointer to the object or NULL on +failure. -TYPE_print_ctx() returns 1 on success or zero on failure. +B_print_ctx>() returns 1 on success or zero on failure. =head1 COPYRIGHT -Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy