xref: /freebsd/crypto/openssl/doc/man3/X509_dup.pod (revision e7be843b4a162e68651d3911f0357ed464915629)
1=pod
2
3=head1 NAME
4
5DECLARE_ASN1_FUNCTIONS,
6IMPLEMENT_ASN1_FUNCTIONS,
7ASN1_ITEM,
8ACCESS_DESCRIPTION_free,
9ACCESS_DESCRIPTION_new,
10ADMISSIONS_free,
11ADMISSIONS_new,
12ADMISSION_SYNTAX_free,
13ADMISSION_SYNTAX_new,
14ASIdOrRange_free,
15ASIdOrRange_new,
16ASIdentifierChoice_free,
17ASIdentifierChoice_new,
18ASIdentifiers_free,
19ASIdentifiers_new,
20ASRange_free,
21ASRange_new,
22AUTHORITY_INFO_ACCESS_free,
23AUTHORITY_INFO_ACCESS_new,
24AUTHORITY_KEYID_free,
25AUTHORITY_KEYID_new,
26BASIC_CONSTRAINTS_free,
27BASIC_CONSTRAINTS_new,
28CERTIFICATEPOLICIES_free,
29CERTIFICATEPOLICIES_new,
30CMS_ContentInfo_free,
31CMS_ContentInfo_new,
32CMS_ContentInfo_new_ex,
33CMS_ContentInfo_print_ctx,
34CMS_EnvelopedData_it,
35CMS_EnvelopedData_dup,
36CMS_ReceiptRequest_free,
37CMS_ReceiptRequest_new,
38CMS_SignedData_free,
39CMS_SignedData_new,
40CRL_DIST_POINTS_free,
41CRL_DIST_POINTS_new,
42DIRECTORYSTRING_free,
43DIRECTORYSTRING_new,
44DISPLAYTEXT_free,
45DISPLAYTEXT_new,
46DIST_POINT_NAME_free,
47DIST_POINT_NAME_new,
48DIST_POINT_NAME_dup,
49DIST_POINT_free,
50DIST_POINT_new,
51DSAparams_dup,
52ECPARAMETERS_free,
53ECPARAMETERS_new,
54ECPKPARAMETERS_free,
55ECPKPARAMETERS_new,
56EDIPARTYNAME_free,
57EDIPARTYNAME_new,
58ESS_CERT_ID_dup,
59ESS_CERT_ID_free,
60ESS_CERT_ID_new,
61ESS_CERT_ID_V2_dup,
62ESS_CERT_ID_V2_free,
63ESS_CERT_ID_V2_new,
64ESS_ISSUER_SERIAL_dup,
65ESS_ISSUER_SERIAL_free,
66ESS_ISSUER_SERIAL_new,
67ESS_SIGNING_CERT_dup,
68ESS_SIGNING_CERT_free,
69ESS_SIGNING_CERT_it,
70ESS_SIGNING_CERT_new,
71ESS_SIGNING_CERT_V2_dup,
72ESS_SIGNING_CERT_V2_free,
73ESS_SIGNING_CERT_V2_it,
74ESS_SIGNING_CERT_V2_new,
75EXTENDED_KEY_USAGE_free,
76EXTENDED_KEY_USAGE_new,
77GENERAL_NAMES_free,
78GENERAL_NAMES_new,
79GENERAL_NAME_dup,
80GENERAL_NAME_free,
81GENERAL_NAME_new,
82GENERAL_SUBTREE_free,
83GENERAL_SUBTREE_new,
84OSSL_IETF_ATTR_SYNTAX_free,
85OSSL_IETF_ATTR_SYNTAX_it,
86OSSL_IETF_ATTR_SYNTAX_new,
87IPAddressChoice_free,
88IPAddressChoice_new,
89IPAddressFamily_free,
90IPAddressFamily_new,
91IPAddressOrRange_free,
92IPAddressOrRange_new,
93IPAddressRange_free,
94IPAddressRange_new,
95ISSUER_SIGN_TOOL_free,
96ISSUER_SIGN_TOOL_it,
97ISSUER_SIGN_TOOL_new,
98ISSUING_DIST_POINT_free,
99ISSUING_DIST_POINT_it,
100ISSUING_DIST_POINT_new,
101NAME_CONSTRAINTS_free,
102NAME_CONSTRAINTS_new,
103NAMING_AUTHORITY_free,
104NAMING_AUTHORITY_new,
105NETSCAPE_CERT_SEQUENCE_free,
106NETSCAPE_CERT_SEQUENCE_new,
107NETSCAPE_SPKAC_free,
108NETSCAPE_SPKAC_new,
109NETSCAPE_SPKI_free,
110NETSCAPE_SPKI_new,
111NOTICEREF_free,
112NOTICEREF_new,
113OCSP_BASICRESP_free,
114OCSP_BASICRESP_new,
115OCSP_CERTID_dup,
116OCSP_CERTID_new,
117OCSP_CERTSTATUS_free,
118OCSP_CERTSTATUS_new,
119OCSP_CRLID_free,
120OCSP_CRLID_new,
121OCSP_ONEREQ_free,
122OCSP_ONEREQ_new,
123OCSP_REQINFO_free,
124OCSP_REQINFO_new,
125OCSP_RESPBYTES_free,
126OCSP_RESPBYTES_new,
127OCSP_RESPDATA_free,
128OCSP_RESPDATA_new,
129OCSP_RESPID_free,
130OCSP_RESPID_new,
131OCSP_RESPONSE_new,
132OCSP_REVOKEDINFO_free,
133OCSP_REVOKEDINFO_new,
134OCSP_SERVICELOC_free,
135OCSP_SERVICELOC_new,
136OCSP_SIGNATURE_free,
137OCSP_SIGNATURE_new,
138OCSP_SINGLERESP_free,
139OCSP_SINGLERESP_new,
140OSSL_AA_DIST_POINT_free,
141OSSL_AA_DIST_POINT_new,
142OSSL_AA_DIST_POINT_it,
143OSSL_ALLOWED_ATTRIBUTES_CHOICE_free,
144OSSL_ALLOWED_ATTRIBUTES_CHOICE_new,
145OSSL_ALLOWED_ATTRIBUTES_CHOICE_it,
146OSSL_ALLOWED_ATTRIBUTES_ITEM_free,
147OSSL_ALLOWED_ATTRIBUTES_ITEM_new,
148OSSL_ALLOWED_ATTRIBUTES_ITEM_it,
149OSSL_ALLOWED_ATTRIBUTES_SYNTAX_free,
150OSSL_ALLOWED_ATTRIBUTES_SYNTAX_new,
151OSSL_ALLOWED_ATTRIBUTES_SYNTAX_it,
152OSSL_ATAV_free,
153OSSL_ATAV_new,
154OSSL_ATAV_it,
155OSSL_ATTRIBUTE_DESCRIPTOR_free,
156OSSL_ATTRIBUTE_DESCRIPTOR_new,
157OSSL_ATTRIBUTE_DESCRIPTOR_it,
158OSSL_ATTRIBUTE_MAPPING_free,
159OSSL_ATTRIBUTE_MAPPING_new,
160OSSL_ATTRIBUTE_MAPPING_it,
161OSSL_ATTRIBUTE_MAPPINGS_free,
162OSSL_ATTRIBUTE_MAPPINGS_new,
163OSSL_ATTRIBUTE_MAPPINGS_it,
164OSSL_ATTRIBUTE_TYPE_MAPPING_free,
165OSSL_ATTRIBUTE_TYPE_MAPPING_new,
166OSSL_ATTRIBUTE_TYPE_MAPPING_it,
167OSSL_ATTRIBUTE_VALUE_MAPPING_free,
168OSSL_ATTRIBUTE_VALUE_MAPPING_new,
169OSSL_ATTRIBUTE_VALUE_MAPPING_it,
170OSSL_ATTRIBUTES_SYNTAX_free,
171OSSL_ATTRIBUTES_SYNTAX_it,
172OSSL_ATTRIBUTES_SYNTAX_new,
173OSSL_AUTHORITY_ATTRIBUTE_ID_SYNTAX_free,
174OSSL_AUTHORITY_ATTRIBUTE_ID_SYNTAX_it,
175OSSL_AUTHORITY_ATTRIBUTE_ID_SYNTAX_new,
176OSSL_BASIC_ATTR_CONSTRAINTS_free,
177OSSL_BASIC_ATTR_CONSTRAINTS_it,
178OSSL_BASIC_ATTR_CONSTRAINTS_new,
179OSSL_CMP_ATAVS_new,
180OSSL_CMP_ATAVS_free,
181OSSL_CMP_ATAVS_it,
182OSSL_CMP_CRLSTATUS_free,
183OSSL_CMP_ITAV_dup,
184OSSL_CMP_ITAV_free,
185OSSL_CMP_MSG_dup,
186OSSL_CMP_MSG_it,
187OSSL_CMP_MSG_free,
188OSSL_CMP_PKIHEADER_free,
189OSSL_CMP_PKIHEADER_it,
190OSSL_CMP_PKIHEADER_new,
191OSSL_CMP_PKISI_dup,
192OSSL_CMP_PKISI_free,
193OSSL_CMP_PKISI_it,
194OSSL_CMP_PKISI_new,
195OSSL_CMP_PKISTATUS_it,
196OSSL_CRMF_CERTID_dup,
197OSSL_CRMF_CERTID_free,
198OSSL_CRMF_CERTID_it,
199OSSL_CRMF_CERTID_new,
200OSSL_CRMF_CERTTEMPLATE_free,
201OSSL_CRMF_CERTTEMPLATE_it,
202OSSL_CRMF_CERTTEMPLATE_new,
203OSSL_CRMF_CERTTEMPLATE_dup,
204OSSL_CRMF_ATTRIBUTETYPEANDVALUE_dup,
205OSSL_CRMF_ATTRIBUTETYPEANDVALUE_free,
206OSSL_CRMF_ENCRYPTEDKEY_free,
207OSSL_CRMF_ENCRYPTEDKEY_it,
208OSSL_CRMF_ENCRYPTEDKEY_new,
209OSSL_CRMF_ENCRYPTEDVALUE_free,
210OSSL_CRMF_ENCRYPTEDVALUE_it,
211OSSL_CRMF_ENCRYPTEDVALUE_new,
212OSSL_CRMF_MSGS_free,
213OSSL_CRMF_MSGS_it,
214OSSL_CRMF_MSGS_new,
215OSSL_CRMF_MSG_dup,
216OSSL_CRMF_MSG_free,
217OSSL_CRMF_MSG_it,
218OSSL_CRMF_MSG_new,
219OSSL_CRMF_PBMPARAMETER_free,
220OSSL_CRMF_PBMPARAMETER_it,
221OSSL_CRMF_PBMPARAMETER_new,
222OSSL_CRMF_PKIPUBLICATIONINFO_free,
223OSSL_CRMF_PKIPUBLICATIONINFO_it,
224OSSL_CRMF_PKIPUBLICATIONINFO_new,
225OSSL_CRMF_SINGLEPUBINFO_free,
226OSSL_CRMF_SINGLEPUBINFO_it,
227OSSL_CRMF_SINGLEPUBINFO_new,
228OSSL_DAY_TIME_free,
229OSSL_DAY_TIME_new,
230OSSL_DAY_TIME_it,
231OSSL_DAY_TIME_BAND_free,
232OSSL_DAY_TIME_BAND_new,
233OSSL_DAY_TIME_BAND_it,
234OSSL_HASH_free,
235OSSL_HASH_it,
236OSSL_HASH_new,
237OSSL_INFO_SYNTAX_free,
238OSSL_INFO_SYNTAX_it,
239OSSL_INFO_SYNTAX_new,
240OSSL_INFO_SYNTAX_POINTER_free,
241OSSL_INFO_SYNTAX_POINTER_it,
242OSSL_INFO_SYNTAX_POINTER_new,
243OSSL_PRIVILEGE_POLICY_ID_free,
244OSSL_PRIVILEGE_POLICY_ID_it,
245OSSL_PRIVILEGE_POLICY_ID_new,
246OSSL_TARGET_CERT_free,
247OSSL_TARGET_CERT_it,
248OSSL_TARGET_CERT_new,
249OSSL_TARGET_free,
250OSSL_TARGET_it,
251OSSL_TARGET_new,
252OSSL_TARGETING_INFORMATION_free,
253OSSL_TARGETING_INFORMATION_it,
254OSSL_TARGETING_INFORMATION_new,
255OSSL_TARGETS_free,
256OSSL_TARGETS_it,
257OSSL_TARGETS_new,
258OSSL_IETF_ATTR_SYNTAX_VALUE_free,
259OSSL_IETF_ATTR_SYNTAX_VALUE_it,
260OSSL_IETF_ATTR_SYNTAX_VALUE_new,
261OSSL_ISSUER_SERIAL_free,
262OSSL_ISSUER_SERIAL_new,
263OSSL_NAMED_DAY_free,
264OSSL_NAMED_DAY_new,
265OSSL_NAMED_DAY_it,
266OSSL_OBJECT_DIGEST_INFO_free,
267OSSL_OBJECT_DIGEST_INFO_new,
268OSSL_ROLE_SPEC_CERT_ID_free,
269OSSL_ROLE_SPEC_CERT_ID_new,
270OSSL_ROLE_SPEC_CERT_ID_it,
271OSSL_ROLE_SPEC_CERT_ID_SYNTAX_free,
272OSSL_ROLE_SPEC_CERT_ID_SYNTAX_new,
273OSSL_ROLE_SPEC_CERT_ID_SYNTAX_it,
274OSSL_TIME_PERIOD_free,
275OSSL_TIME_PERIOD_new,
276OSSL_TIME_PERIOD_it,
277OSSL_TIME_SPEC_ABSOLUTE_free,
278OSSL_TIME_SPEC_ABSOLUTE_new,
279OSSL_TIME_SPEC_ABSOLUTE_it,
280OSSL_TIME_SPEC_free,
281OSSL_TIME_SPEC_new,
282OSSL_TIME_SPEC_it,
283OSSL_TIME_SPEC_DAY_free,
284OSSL_TIME_SPEC_DAY_new,
285OSSL_TIME_SPEC_DAY_it,
286OSSL_TIME_SPEC_MONTH_free,
287OSSL_TIME_SPEC_MONTH_new,
288OSSL_TIME_SPEC_MONTH_it,
289OSSL_TIME_SPEC_TIME_free,
290OSSL_TIME_SPEC_TIME_new,
291OSSL_TIME_SPEC_TIME_it,
292OSSL_TIME_SPEC_WEEKS_free,
293OSSL_TIME_SPEC_WEEKS_new,
294OSSL_TIME_SPEC_WEEKS_it,
295OSSL_TIME_SPEC_X_DAY_OF_free,
296OSSL_TIME_SPEC_X_DAY_OF_new,
297OSSL_TIME_SPEC_X_DAY_OF_it,
298OSSL_USER_NOTICE_SYNTAX_free,
299OSSL_USER_NOTICE_SYNTAX_new,
300OSSL_USER_NOTICE_SYNTAX_it,
301OTHERNAME_free,
302OTHERNAME_new,
303PBE2PARAM_free,
304PBE2PARAM_new,
305PBEPARAM_free,
306PBEPARAM_new,
307PBKDF2PARAM_free,
308PBKDF2PARAM_new,
309PBMAC1PARAM_free,
310PBMAC1PARAM_it,
311PBMAC1PARAM_new,
312PKCS12_BAGS_free,
313PKCS12_BAGS_new,
314PKCS12_MAC_DATA_free,
315PKCS12_MAC_DATA_new,
316PKCS12_SAFEBAG_free,
317PKCS12_SAFEBAG_new,
318PKCS12_free,
319PKCS12_new,
320PKCS7_DIGEST_free,
321PKCS7_DIGEST_new,
322PKCS7_ENCRYPT_free,
323PKCS7_ENCRYPT_new,
324PKCS7_ENC_CONTENT_free,
325PKCS7_ENC_CONTENT_new,
326PKCS7_ENVELOPE_free,
327PKCS7_ENVELOPE_new,
328PKCS7_ISSUER_AND_SERIAL_free,
329PKCS7_ISSUER_AND_SERIAL_new,
330PKCS7_RECIP_INFO_free,
331PKCS7_RECIP_INFO_new,
332PKCS7_SIGNED_free,
333PKCS7_SIGNED_new,
334PKCS7_SIGNER_INFO_free,
335PKCS7_SIGNER_INFO_new,
336PKCS7_SIGN_ENVELOPE_free,
337PKCS7_SIGN_ENVELOPE_new,
338PKCS7_dup,
339PKCS7_free,
340PKCS7_new_ex,
341PKCS7_new,
342PKCS7_print_ctx,
343PKCS8_PRIV_KEY_INFO_free,
344PKCS8_PRIV_KEY_INFO_new,
345PKEY_USAGE_PERIOD_free,
346PKEY_USAGE_PERIOD_new,
347POLICYINFO_free,
348POLICYINFO_new,
349POLICYQUALINFO_free,
350POLICYQUALINFO_new,
351POLICY_CONSTRAINTS_free,
352POLICY_CONSTRAINTS_new,
353POLICY_MAPPING_free,
354POLICY_MAPPING_new,
355PROFESSION_INFOS_free,
356PROFESSION_INFOS_new,
357PROFESSION_INFO_free,
358PROFESSION_INFO_new,
359PROXY_CERT_INFO_EXTENSION_free,
360PROXY_CERT_INFO_EXTENSION_new,
361PROXY_POLICY_free,
362PROXY_POLICY_new,
363RSAPrivateKey_dup,
364RSAPublicKey_dup,
365RSA_OAEP_PARAMS_free,
366RSA_OAEP_PARAMS_new,
367RSA_PSS_PARAMS_free,
368RSA_PSS_PARAMS_new,
369RSA_PSS_PARAMS_dup,
370SCRYPT_PARAMS_free,
371SCRYPT_PARAMS_new,
372SXNETID_free,
373SXNETID_new,
374SXNET_free,
375SXNET_new,
376TLS_FEATURE_free,
377TLS_FEATURE_new,
378TS_ACCURACY_dup,
379TS_ACCURACY_free,
380TS_ACCURACY_new,
381TS_MSG_IMPRINT_dup,
382TS_MSG_IMPRINT_free,
383TS_MSG_IMPRINT_new,
384TS_REQ_dup,
385TS_REQ_free,
386TS_REQ_new,
387TS_RESP_dup,
388TS_RESP_free,
389TS_RESP_new,
390TS_STATUS_INFO_dup,
391TS_STATUS_INFO_free,
392TS_STATUS_INFO_new,
393TS_TST_INFO_dup,
394TS_TST_INFO_free,
395TS_TST_INFO_new,
396USERNOTICE_free,
397USERNOTICE_new,
398X509_ACERT_dup,
399X509_ACERT_free,
400X509_ACERT_it,
401X509_ACERT_new,
402X509_ACERT_INFO_free,
403X509_ACERT_INFO_it,
404X509_ACERT_INFO_new,
405X509_ACERT_ISSUER_V2FORM_free,
406X509_ACERT_ISSUER_V2FORM_new,
407X509_ALGOR_free,
408X509_ALGOR_it,
409X509_ALGOR_new,
410X509_ATTRIBUTE_dup,
411X509_ATTRIBUTE_free,
412X509_ATTRIBUTE_new,
413X509_CERT_AUX_free,
414X509_CERT_AUX_new,
415X509_CINF_free,
416X509_CINF_new,
417X509_CRL_INFO_free,
418X509_CRL_INFO_new,
419X509_CRL_dup,
420X509_CRL_free,
421X509_CRL_new_ex,
422X509_CRL_new,
423X509_EXTENSION_dup,
424X509_EXTENSION_free,
425X509_EXTENSION_new,
426X509_NAME_ENTRY_dup,
427X509_NAME_ENTRY_free,
428X509_NAME_ENTRY_new,
429X509_NAME_dup,
430X509_NAME_free,
431X509_NAME_new,
432X509_REQ_INFO_free,
433X509_REQ_INFO_new,
434X509_REQ_dup,
435X509_REQ_free,
436X509_REQ_new,
437X509_REQ_new_ex,
438X509_REVOKED_dup,
439X509_REVOKED_free,
440X509_REVOKED_new,
441X509_SIG_free,
442X509_SIG_new,
443X509_VAL_free,
444X509_VAL_new,
445X509_dup,
446- ASN1 object utilities
447
448=head1 SYNOPSIS
449
450=for openssl generic
451
452 #include <openssl/asn1t.h>
453
454 DECLARE_ASN1_FUNCTIONS(type)
455 IMPLEMENT_ASN1_FUNCTIONS(stname)
456
457 typedef struct ASN1_ITEM_st ASN1_ITEM;
458
459 extern const ASN1_ITEM TYPE_it;
460 TYPE *TYPE_new(void);
461 TYPE *TYPE_dup(const TYPE *a);
462 void TYPE_free(TYPE *a);
463 int TYPE_print_ctx(BIO *out, TYPE *a, int indent, const ASN1_PCTX *pctx);
464
465The following functions have been deprecated since OpenSSL 3.0, and can be
466hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
467see L<openssl_user_macros(7)>:
468
469 DSA *DSAparams_dup(const DSA *dsa);
470 RSA *RSAPrivateKey_dup(const RSA *rsa);
471 RSA *RSAPublicKey_dup(const RSA *rsa);
472
473=head1 DESCRIPTION
474
475In the description below, B<I<TYPE>> is used
476as a placeholder for any of the OpenSSL datatypes, such as B<X509>.
477
478The OpenSSL ASN1 parsing library templates are like a data-driven bytecode
479interpreter.
480Every ASN1 object as a global variable, TYPE_it, that describes the item
481such as its fields.  (On systems which cannot export variables from shared
482libraries, the global is instead a function which returns a pointer to a
483static variable.
484
485The macro DECLARE_ASN1_FUNCTIONS() is typically used in header files
486to generate the function declarations.
487
488The macro IMPLEMENT_ASN1_FUNCTIONS() is used once in a source file
489to generate the function bodies.
490
491
492B<I<TYPE>_new>() allocates an empty object of the indicated type.
493The object returned must be released by calling B<I<TYPE>_free>().
494
495B<I<TYPE>_new_ex>() is similar to B<I<TYPE>_new>() but also passes the
496library context I<libctx> and the property query I<propq> to use when retrieving
497algorithms from providers. This created object can then be used when loading
498binary data using B<d2i_I<TYPE>>().
499
500B<I<TYPE>_dup>() copies an existing object, leaving it untouched.
501Note, however, that the internal representation of the object
502may contain (besides the ASN.1 structure) further data, which is not copied.
503For instance, an B<X509> object usually is augmented by cached information
504on X.509v3 extensions, etc., and losing it can lead to wrong validation results.
505To avoid such situations, better use B<I<TYPE>_up_ref>() if available.
506For the case of B<X509> objects, an alternative to using L<X509_up_ref(3)>
507may be to still call B<I<TYPE>_dup>(), e.g., I<copied_cert = X509_dup(cert)>,
508followed by I<X509_check_purpose(copied_cert, -1, 0)>,
509which re-builds the cached data.
510
511B<I<TYPE>_free>() releases the object and all pointers and sub-objects
512within it. If the argument is NULL, nothing is done.
513
514B<I<TYPE>_print_ctx>() prints the object I<a> on the specified BIO I<out>.
515Each line will be prefixed with I<indent> spaces.
516The I<pctx> specifies the printing context and is for internal
517use; use NULL to get the default behavior.  If a print function is
518user-defined, then pass in any I<pctx> down to any nested calls.
519
520=head1 RETURN VALUES
521
522B<I<TYPE>_new>(), B<I<TYPE>_new_ex>() and B<I<TYPE>_dup>() return a pointer to
523the object or NULL on failure.
524
525B<I<TYPE>_print_ctx>() returns 1 on success or zero on failure.
526
527=head1 SEE ALSO
528
529L<X509_up_ref(3)>
530
531=head1 HISTORY
532
533The functions X509_REQ_new_ex(), X509_CRL_new_ex(), PKCS7_new_ex() and
534CMS_ContentInfo_new_ex() were added in OpenSSL 3.0.
535
536The functions DSAparams_dup(), RSAPrivateKey_dup() and RSAPublicKey_dup() were
537deprecated in 3.0.
538
539CMS_EnvelopedData_it(), CMS_SignedData_free(), CMS_SignedData_new()
540were added in OpenSSL 3.2.
541
542DIST_POINT_NAME_dup(), OSSL_IETF_ATTR_SYNTAX_free(), OSSL_IETF_ATTR_SYNTAX_it(),
543OSSL_IETF_ATTR_SYNTAX_new(), OSSL_ATTRIBUTES_SYNTAX_free(),
544OSSL_ATTRIBUTES_SYNTAX_it(), OSSL_ATTRIBUTES_SYNTAX_new(),
545OSSL_BASIC_ATTR_CONSTRAINTS_free(), OSSL_BASIC_ATTR_CONSTRAINTS_it(),
546OSSL_BASIC_ATTR_CONSTRAINTS_new(), OSSL_CMP_ATAVS_new(), OSSL_CMP_ATAVS_free(),
547OSSL_CMP_ATAVS_it(), OSSL_CMP_CRLSTATUS_free(), OSSL_CRMF_CERTTEMPLATE_dup(),
548OSSL_CRMF_ATTRIBUTETYPEANDVALUE_dup(), OSSL_CRMF_ATTRIBUTETYPEANDVALUE_free(),
549OSSL_TARGET_free(), OSSL_TARGET_it(), OSSL_TARGET_new(),
550OSSL_TARGETING_INFORMATION_free(), OSSL_TARGETING_INFORMATION_it(),
551OSSL_TARGETING_INFORMATION_new(), OSSL_TARGETS_free(),
552OSSL_TARGETS_it(), OSSL_TARGETS_new(), OSSL_IETF_ATTR_SYNTAX_VALUE_free(),
553OSSL_IETF_ATTR_SYNTAX_VALUE_it(), OSSL_IETF_ATTR_SYNTAX_VALUE_new(),
554OSSL_ISSUER_SERIAL_free(), OSSL_ISSUER_SERIAL_new(),
555OSSL_OBJECT_DIGEST_INFO_free(), OSSL_OBJECT_DIGEST_INFO_new(),
556OSSL_USER_NOTICE_SYNTAX_free(), OSSL_USER_NOTICE_SYNTAX_new(),
557OSSL_USER_NOTICE_SYNTAX_it(), PBMAC1PARAM_free(), PBMAC1PARAM_it(),
558PBMAC1PARAM_new(), X509_ACERT_dup(), X509_ACERT_free(), X509_ACERT_it(),
559X509_ACERT_new(), X509_ACERT_INFO_free(), X509_ACERT_INFO_it(),
560X509_ACERT_INFO_new(), X509_ACERT_ISSUER_V2FORM_free(),
561X509_ACERT_ISSUER_V2FORM_new()
562were added in OpenSSL 3.4.
563
564OSSL_AA_DIST_POINT_free(), OSSL_AA_DIST_POINT_new(), OSSL_AA_DIST_POINT_it(),
565OSSL_ALLOWED_ATTRIBUTES_CHOICE_free(), OSSL_ALLOWED_ATTRIBUTES_CHOICE_new(),
566OSSL_ALLOWED_ATTRIBUTES_CHOICE_it(), OSSL_ALLOWED_ATTRIBUTES_ITEM_free(),
567OSSL_ALLOWED_ATTRIBUTES_ITEM_new(), OSSL_ALLOWED_ATTRIBUTES_ITEM_it(),
568OSSL_ALLOWED_ATTRIBUTES_SYNTAX_free(), OSSL_ALLOWED_ATTRIBUTES_SYNTAX_new(),
569OSSL_ALLOWED_ATTRIBUTES_SYNTAX_it(),
570OSSL_ATAV_free(), OSSL_ATAV_it(), OSSL_ATAV_new(),
571OSSL_ATTRIBUTE_DESCRIPTOR_free(), OSSL_ATTRIBUTE_DESCRIPTOR_new(),
572OSSL_ATTRIBUTE_DESCRIPTOR_it(),
573OSSL_ATTRIBUTE_MAPPINGS_free(), OSSL_ATTRIBUTE_MAPPINGS_it(),
574OSSL_ATTRIBUTE_MAPPINGS_new(), OSSL_ATTRIBUTE_MAPPING_free(),
575OSSL_ATTRIBUTE_MAPPING_it(), OSSL_ATTRIBUTE_MAPPING_new(),
576OSSL_ATTRIBUTE_TYPE_MAPPING_free(), OSSL_ATTRIBUTE_TYPE_MAPPING_it(),
577OSSL_ATTRIBUTE_TYPE_MAPPING_new(), OSSL_ATTRIBUTE_VALUE_MAPPING_free(),
578OSSL_ATTRIBUTE_VALUE_MAPPING_it(), OSSL_ATTRIBUTE_VALUE_MAPPING_new(),
579OSSL_AUTHORITY_ATTRIBUTE_ID_SYNTAX_free(),
580OSSL_AUTHORITY_ATTRIBUTE_ID_SYNTAX_it(), OSSL_AUTHORITY_ATTRIBUTE_ID_SYNTAX_new(),
581OSSL_HASH_free(), OSSL_HASH_it(), OSSL_HASH_new(), OSSL_INFO_SYNTAX_free(),
582OSSL_INFO_SYNTAX_it(), OSSL_INFO_SYNTAX_new(), OSSL_INFO_SYNTAX_POINTER_free(),
583OSSL_INFO_SYNTAX_POINTER_it(), OSSL_INFO_SYNTAX_POINTER_new(),
584OSSL_PRIVILEGE_POLICY_ID_free(), OSSL_PRIVILEGE_POLICY_ID_it(),
585OSSL_PRIVILEGE_POLICY_ID_new(), OSSL_ROLE_SPEC_CERT_ID_free(),
586OSSL_ROLE_SPEC_CERT_ID_new(), OSSL_ROLE_SPEC_CERT_ID_it(),
587OSSL_ROLE_SPEC_CERT_ID_SYNTAX_free(), OSSL_ROLE_SPEC_CERT_ID_SYNTAX_new(),
588OSSL_ROLE_SPEC_CERT_ID_SYNTAX_it(), OSSL_DAY_TIME_BAND_free(),
589OSSL_DAY_TIME_BAND_it(), OSSL_DAY_TIME_BAND_new(),
590OSSL_DAY_TIME_free(), OSSL_DAY_TIME_it(), OSSL_DAY_TIME_new(),
591OSSL_NAMED_DAY_free(), OSSL_NAMED_DAY_it(), OSSL_NAMED_DAY_new(),
592OSSL_TIME_PERIOD_free(), OSSL_TIME_PERIOD_it(), OSSL_TIME_PERIOD_new(),
593OSSL_TIME_SPEC_ABSOLUTE_free(), OSSL_TIME_SPEC_ABSOLUTE_it(),
594OSSL_TIME_SPEC_ABSOLUTE_new(), OSSL_TIME_SPEC_DAY_free(),
595OSSL_TIME_SPEC_DAY_it(), OSSL_TIME_SPEC_DAY_new(),
596OSSL_TIME_SPEC_MONTH_free(), OSSL_TIME_SPEC_MONTH_it(),
597OSSL_TIME_SPEC_MONTH_new(), OSSL_TIME_SPEC_TIME_free(),
598OSSL_TIME_SPEC_TIME_it(), OSSL_TIME_SPEC_TIME_new(),
599OSSL_TIME_SPEC_WEEKS_free(), OSSL_TIME_SPEC_WEEKS_it(),
600OSSL_TIME_SPEC_WEEKS_new(), OSSL_TIME_SPEC_X_DAY_OF_free(),
601OSSL_TIME_SPEC_X_DAY_OF_it(), OSSL_TIME_SPEC_X_DAY_OF_new(),
602OSSL_TIME_SPEC_free(), OSSL_TIME_SPEC_it(), OSSL_TIME_SPEC_new(),
603CMS_EnvelopedData_dup(), OSSL_CRMF_ENCRYPTEDKEY_free(),
604OSSL_CRMF_ENCRYPTEDKEY_it() and OSSL_CRMF_ENCRYPTEDKEY_new()
605were added in OpenSSL 3.5.
606
607=head1 COPYRIGHT
608
609Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved.
610
611Licensed under the Apache License 2.0 (the "License").  You may not use
612this file except in compliance with the License.  You can obtain a copy
613in the file LICENSE in the source distribution or at
614L<https://www.openssl.org/source/license.html>.
615
616=cut
617