OSSL_PARAM.3ossl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. .\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
  2. .\"
  3. .\" Standard preamble:
  4. .\" ========================================================================
  5. .de Sp \" Vertical space (when we can't use .PP)
  6. .if t .sp .5v
  7. .if n .sp
  8. ..
  9. .de Vb \" Begin verbatim text
  10. .ft CW
  11. .nf
  12. .ne \\$1
  13. ..
  14. .de Ve \" End verbatim text
  15. .ft R
  16. .fi
  17. ..
  18. .\" Set up some character translations and predefined strings. \*(-- will
  19. .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  20. .\" double quote, and \*(R" will give a right double quote. \*(C+ will
  21. .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  22. .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  23. .\" nothing in troff, for use with C<>.
  24. .tr \(*W-
  25. .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  26. .ie n \{\
  27. . ds -- \(*W-
  28. . ds PI pi
  29. . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  30. . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  31. . ds L" ""
  32. . ds R" ""
  33. . ds C` ""
  34. . ds C' ""
  35. 'br\}
  36. .el\{\
  37. . ds -- \|\(em\|
  38. . ds PI \(*p
  39. . ds L" ``
  40. . ds R" ''
  41. . ds C`
  42. . ds C'
  43. 'br\}
  44. .\"
  45. .\" Escape single quotes in literal strings from groff's Unicode transform.
  46. .ie \n(.g .ds Aq \(aq
  47. .el .ds Aq '
  48. .\"
  49. .\" If the F register is >0, we'll generate index entries on stderr for
  50. .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
  51. .\" entries marked with X<> in POD. Of course, you'll have to process the
  52. .\" output yourself in some meaningful fashion.
  53. .\"
  54. .\" Avoid warning from groff about undefined register 'F'.
  55. .de IX
  56. ..
  57. .nr rF 0
  58. .if \n(.g .if rF .nr rF 1
  59. .if (\n(rF:(\n(.g==0)) \{\
  60. . if \nF \{\
  61. . de IX
  62. . tm Index:\\$1\t\\n%\t"\\$2"
  63. ..
  64. . if !\nF==2 \{\
  65. . nr % 0
  66. . nr F 2
  67. . \}
  68. . \}
  69. .\}
  70. .rr rF
  71. .\"
  72. .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
  73. .\" Fear. Run. Save yourself. No user-serviceable parts.
  74. . \" fudge factors for nroff and troff
  75. .if n \{\
  76. . ds #H 0
  77. . ds #V .8m
  78. . ds #F .3m
  79. . ds #[ \f1
  80. . ds #] \fP
  81. .\}
  82. .if t \{\
  83. . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  84. . ds #V .6m
  85. . ds #F 0
  86. . ds #[ \&
  87. . ds #] \&
  88. .\}
  89. . \" simple accents for nroff and troff
  90. .if n \{\
  91. . ds ' \&
  92. . ds ` \&
  93. . ds ^ \&
  94. . ds , \&
  95. . ds ~ ~
  96. . ds /
  97. .\}
  98. .if t \{\
  99. . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  100. . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  101. . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  102. . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  103. . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  104. . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  105. .\}
  106. . \" troff and (daisy-wheel) nroff accents
  107. .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  108. .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  109. .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  110. .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  111. .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  112. .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  113. .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  114. .ds ae a\h'-(\w'a'u*4/10)'e
  115. .ds Ae A\h'-(\w'A'u*4/10)'E
  116. . \" corrections for vroff
  117. .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  118. .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  119. . \" for low resolution devices (crt and lpr)
  120. .if \n(.H>23 .if \n(.V>19 \
  121. \{\
  122. . ds : e
  123. . ds 8 ss
  124. . ds o a
  125. . ds d- d\h'-1'\(ga
  126. . ds D- D\h'-1'\(hy
  127. . ds th \o'bp'
  128. . ds Th \o'LP'
  129. . ds ae ae
  130. . ds Ae AE
  131. .\}
  132. .rm #[ #] #H #V #F C
  133. .\" ========================================================================
  134. .\"
  135. .IX Title "OSSL_PARAM 3ossl"
  136. .TH OSSL_PARAM 3ossl "2024-09-03" "3.3.2" "OpenSSL"
  137. .\" For nroff, turn off justification. Always turn off hyphenation; it makes
  138. .\" way too many mistakes in technical documents.
  139. .if n .ad l
  140. .nh
  141. .SH "NAME"
  142. OSSL_PARAM \- a structure to pass or request object parameters
  143. .SH "SYNOPSIS"
  144. .IX Header "SYNOPSIS"
  145. .Vb 1
  146. \& #include <openssl/core.h>
  147. \&
  148. \& typedef struct ossl_param_st OSSL_PARAM;
  149. \& struct ossl_param_st {
  150. \& const char *key; /* the name of the parameter */
  151. \& unsigned char data_type; /* declare what kind of content is in data */
  152. \& void *data; /* value being passed in or out */
  153. \& size_t data_size; /* data size */
  154. \& size_t return_size; /* returned size */
  155. \& };
  156. .Ve
  157. .SH "DESCRIPTION"
  158. .IX Header "DESCRIPTION"
  159. \&\fB\s-1OSSL_PARAM\s0\fR is a type that allows passing arbitrary data for some
  160. object between two parties that have no or very little shared
  161. knowledge about their respective internal structures for that object.
  162. .PP
  163. A typical usage example could be an application that wants to set some
  164. parameters for an object, or wants to find out some parameters of an
  165. object.
  166. .PP
  167. Arrays of this type can be used for the following purposes:
  168. .IP "\(bu" 4
  169. Setting parameters for some object
  170. .Sp
  171. The caller sets up the \fB\s-1OSSL_PARAM\s0\fR array and calls some function
  172. (the \fIsetter\fR) that has intimate knowledge about the object that can
  173. take the data from the \fB\s-1OSSL_PARAM\s0\fR array and assign them in a
  174. suitable form for the internal structure of the object.
  175. .IP "\(bu" 4
  176. Request parameters of some object
  177. .Sp
  178. The caller (the \fIrequester\fR) sets up the \fB\s-1OSSL_PARAM\s0\fR array and
  179. calls some function (the \fIresponder\fR) that has intimate knowledge
  180. about the object, which can take the internal data of the object and
  181. copy (possibly convert) that to the memory prepared by the
  182. \&\fIrequester\fR and pointed at with the \fB\s-1OSSL_PARAM\s0\fR \fIdata\fR.
  183. .IP "\(bu" 4
  184. Request parameter descriptors
  185. .Sp
  186. The caller gets an array of constant \fB\s-1OSSL_PARAM\s0\fR, which describe
  187. available parameters and some of their properties; name, data type and
  188. expected data size.
  189. For a detailed description of each field for this use, see the field
  190. descriptions below.
  191. .Sp
  192. The caller may then use the information from this descriptor array to
  193. build up its own \fB\s-1OSSL_PARAM\s0\fR array to pass down to a \fIsetter\fR or
  194. \&\fIresponder\fR.
  195. .PP
  196. Normally, the order of the an \fB\s-1OSSL_PARAM\s0\fR array is not relevant.
  197. However, if the \fIresponder\fR can handle multiple elements with the
  198. same key, those elements must be handled in the order they are in.
  199. .PP
  200. An \fB\s-1OSSL_PARAM\s0\fR array must have a terminating element, where \fIkey\fR
  201. is \s-1NULL.\s0 The usual full terminating template is:
  202. .PP
  203. .Vb 1
  204. \& { NULL, 0, NULL, 0, 0 }
  205. .Ve
  206. .PP
  207. This can also be specified using \s-1\fBOSSL_PARAM_END\s0\fR\|(3).
  208. .SS "Functional support"
  209. .IX Subsection "Functional support"
  210. Libcrypto offers a limited set of helper functions to handle
  211. \&\fB\s-1OSSL_PARAM\s0\fR items and arrays, please see \fBOSSL_PARAM_get_int\fR\|(3).
  212. Developers are free to extend or replace those as they see fit.
  213. .SS "\fB\s-1OSSL_PARAM\s0\fP fields"
  214. .IX Subsection "OSSL_PARAM fields"
  215. .IP "\fIkey\fR" 4
  216. .IX Item "key"
  217. The identity of the parameter in the form of a string.
  218. .Sp
  219. In an \fB\s-1OSSL_PARAM\s0\fR array, an item with this field set to \s-1NULL\s0 is
  220. considered a terminating item.
  221. .IP "\fIdata_type\fR" 4
  222. .IX Item "data_type"
  223. The \fIdata_type\fR is a value that describes the type and organization of
  224. the data.
  225. See \*(L"Supported types\*(R" below for a description of the types.
  226. .IP "\fIdata\fR" 4
  227. .IX Item "data"
  228. .PD 0
  229. .IP "\fIdata_size\fR" 4
  230. .IX Item "data_size"
  231. .PD
  232. \&\fIdata\fR is a pointer to the memory where the parameter data is (when
  233. setting parameters) or shall (when requesting parameters) be stored,
  234. and \fIdata_size\fR is its size in bytes.
  235. The organization of the data depends on the parameter type and flag.
  236. .Sp
  237. The \fIdata_size\fR needs special attention with the parameter type
  238. \&\fB\s-1OSSL_PARAM_UTF8_STRING\s0\fR in relation to C strings. When setting
  239. parameters, the size should be set to the length of the string, not
  240. counting the terminating \s-1NUL\s0 byte. When requesting parameters, the
  241. size should be set to the size of the buffer to be populated, which
  242. should accommodate enough space for a terminating \s-1NUL\s0 byte.
  243. .Sp
  244. When \fIrequesting parameters\fR, it's acceptable for \fIdata\fR to be \s-1NULL.\s0
  245. This can be used by the \fIrequester\fR to figure out dynamically exactly
  246. how much buffer space is needed to store the parameter data.
  247. In this case, \fIdata_size\fR is ignored.
  248. .Sp
  249. When the \fB\s-1OSSL_PARAM\s0\fR is used as a parameter descriptor, \fIdata\fR
  250. should be ignored.
  251. If \fIdata_size\fR is zero, it means that an arbitrary data size is
  252. accepted, otherwise it specifies the maximum size allowed.
  253. .IP "\fIreturn_size\fR" 4
  254. .IX Item "return_size"
  255. When an array of \fB\s-1OSSL_PARAM\s0\fR is used to request data, the
  256. \&\fIresponder\fR must set this field to indicate size of the parameter
  257. data, including padding as the case may be.
  258. In case the \fIdata_size\fR is an unsuitable size for the data, the
  259. \&\fIresponder\fR must still set this field to indicate the minimum data
  260. size required.
  261. (further notes on this in \*(L"\s-1NOTES\*(R"\s0 below).
  262. .Sp
  263. When the \fB\s-1OSSL_PARAM\s0\fR is used as a parameter descriptor,
  264. \&\fIreturn_size\fR should be ignored.
  265. .PP
  266. \&\fB\s-1NOTE:\s0\fR
  267. .PP
  268. The key names and associated types are defined by the entity that
  269. offers these parameters, i.e. names for parameters provided by the
  270. OpenSSL libraries are defined by the libraries, and names for
  271. parameters provided by providers are defined by those providers,
  272. except for the pointer form of strings (see data type descriptions
  273. below).
  274. Entities that want to set or request parameters need to know what
  275. those keys are and of what type, any functionality between those two
  276. entities should remain oblivious and just pass the \fB\s-1OSSL_PARAM\s0\fR array
  277. along.
  278. .SS "Supported types"
  279. .IX Subsection "Supported types"
  280. The \fIdata_type\fR field can be one of the following types:
  281. .IP "\fB\s-1OSSL_PARAM_INTEGER\s0\fR" 4
  282. .IX Item "OSSL_PARAM_INTEGER"
  283. .PD 0
  284. .IP "\fB\s-1OSSL_PARAM_UNSIGNED_INTEGER\s0\fR" 4
  285. .IX Item "OSSL_PARAM_UNSIGNED_INTEGER"
  286. .PD
  287. The parameter data is an integer (signed or unsigned) of arbitrary
  288. length, organized in native form, i.e. most significant byte first on
  289. Big-Endian systems, and least significant byte first on Little-Endian
  290. systems.
  291. .IP "\fB\s-1OSSL_PARAM_REAL\s0\fR" 4
  292. .IX Item "OSSL_PARAM_REAL"
  293. The parameter data is a floating point value in native form.
  294. .IP "\fB\s-1OSSL_PARAM_UTF8_STRING\s0\fR" 4
  295. .IX Item "OSSL_PARAM_UTF8_STRING"
  296. The parameter data is a printable string.
  297. .IP "\fB\s-1OSSL_PARAM_OCTET_STRING\s0\fR" 4
  298. .IX Item "OSSL_PARAM_OCTET_STRING"
  299. The parameter data is an arbitrary string of bytes.
  300. .IP "\fB\s-1OSSL_PARAM_UTF8_PTR\s0\fR" 4
  301. .IX Item "OSSL_PARAM_UTF8_PTR"
  302. The parameter data is a pointer to a printable string.
  303. .Sp
  304. The difference between this and \fB\s-1OSSL_PARAM_UTF8_STRING\s0\fR is that \fIdata\fR
  305. doesn't point directly at the data, but to a pointer that points to the data.
  306. .Sp
  307. If there is any uncertainty about which to use, \fB\s-1OSSL_PARAM_UTF8_STRING\s0\fR is
  308. almost certainly the correct choice.
  309. .Sp
  310. This is used to indicate that constant data is or will be passed,
  311. and there is therefore no need to copy the data that is passed, just
  312. the pointer to it.
  313. .Sp
  314. \&\fIdata_size\fR must be set to the size of the data, not the size of the
  315. pointer to the data.
  316. If this is used in a parameter request,
  317. \&\fIdata_size\fR is not relevant. However, the \fIresponder\fR will set
  318. \&\fIreturn_size\fR to the size of the data.
  319. .Sp
  320. Note that the use of this type is \fBfragile\fR and can only be safely
  321. used for data that remains constant and in a constant location for a
  322. long enough duration (such as the life-time of the entity that
  323. offers these parameters).
  324. .IP "\fB\s-1OSSL_PARAM_OCTET_PTR\s0\fR" 4
  325. .IX Item "OSSL_PARAM_OCTET_PTR"
  326. The parameter data is a pointer to an arbitrary string of bytes.
  327. .Sp
  328. The difference between this and \fB\s-1OSSL_PARAM_OCTET_STRING\s0\fR is that
  329. \&\fIdata\fR doesn't point directly at the data, but to a pointer that
  330. points to the data.
  331. .Sp
  332. If there is any uncertainty about which to use, \fB\s-1OSSL_PARAM_OCTET_STRING\s0\fR is
  333. almost certainly the correct choice.
  334. .Sp
  335. This is used to indicate that constant data is or will be passed, and
  336. there is therefore no need to copy the data that is passed, just the
  337. pointer to it.
  338. .Sp
  339. \&\fIdata_size\fR must be set to the size of the data, not the size of the
  340. pointer to the data.
  341. If this is used in a parameter request,
  342. \&\fIdata_size\fR is not relevant. However, the \fIresponder\fR will set
  343. \&\fIreturn_size\fR to the size of the data.
  344. .Sp
  345. Note that the use of this type is \fBfragile\fR and can only be safely
  346. used for data that remains constant and in a constant location for a
  347. long enough duration (such as the life-time of the entity that
  348. offers these parameters).
  349. .SH "NOTES"
  350. .IX Header "NOTES"
  351. Both when setting and requesting parameters, the functions that are
  352. called will have to decide what is and what is not an error.
  353. The recommended behaviour is:
  354. .IP "\(bu" 4
  355. Keys that a \fIsetter\fR or \fIresponder\fR doesn't recognise should simply
  356. be ignored.
  357. That in itself isn't an error.
  358. .IP "\(bu" 4
  359. If the keys that a called \fIsetter\fR recognises form a consistent
  360. enough set of data, that call should succeed.
  361. .IP "\(bu" 4
  362. Apart from the \fIreturn_size\fR, a \fIresponder\fR must never change the fields
  363. of an \fB\s-1OSSL_PARAM\s0\fR.
  364. To return a value, it should change the contents of the memory that
  365. \&\fIdata\fR points at.
  366. .IP "\(bu" 4
  367. If the data type for a key that it's associated with is incorrect,
  368. the called function may return an error.
  369. .Sp
  370. The called function may also try to convert the data to a suitable
  371. form (for example, it's plausible to pass a large number as an octet
  372. string, so even though a given key is defined as an
  373. \&\fB\s-1OSSL_PARAM_UNSIGNED_INTEGER\s0\fR, is plausible to pass the value as an
  374. \&\fB\s-1OSSL_PARAM_OCTET_STRING\s0\fR), but this is in no way mandatory.
  375. .IP "\(bu" 4
  376. If \fIdata\fR for a \fB\s-1OSSL_PARAM_OCTET_STRING\s0\fR or a
  377. \&\fB\s-1OSSL_PARAM_UTF8_STRING\s0\fR is \s-1NULL,\s0 the \fIresponder\fR should
  378. set \fIreturn_size\fR to the size of the item to be returned
  379. and return success. Later the responder will be called again
  380. with \fIdata\fR pointing at the place for the value to be put.
  381. .IP "\(bu" 4
  382. If a \fIresponder\fR finds that some data sizes are too small for the
  383. requested data, it must set \fIreturn_size\fR for each such
  384. \&\fB\s-1OSSL_PARAM\s0\fR item to the minimum required size, and eventually return
  385. an error.
  386. .IP "\(bu" 4
  387. For the integer type parameters (\fB\s-1OSSL_PARAM_UNSIGNED_INTEGER\s0\fR and
  388. \&\fB\s-1OSSL_PARAM_INTEGER\s0\fR), a \fIresponder\fR may choose to return an error
  389. if the \fIdata_size\fR isn't a suitable size (even if \fIdata_size\fR is
  390. bigger than needed). If the \fIresponder\fR finds the size suitable, it
  391. must fill all \fIdata_size\fR bytes and ensure correct padding for the
  392. native endianness, and set \fIreturn_size\fR to the same value as
  393. \&\fIdata_size\fR.
  394. .SH "EXAMPLES"
  395. .IX Header "EXAMPLES"
  396. A couple of examples to just show how \fB\s-1OSSL_PARAM\s0\fR arrays could be
  397. set up.
  398. .PP
  399. \fIExample 1\fR
  400. .IX Subsection "Example 1"
  401. .PP
  402. This example is for setting parameters on some object:
  403. .PP
  404. .Vb 1
  405. \& #include <openssl/core.h>
  406. \&
  407. \& const char *foo = "some string";
  408. \& size_t foo_l = strlen(foo);
  409. \& const char bar[] = "some other string";
  410. \& OSSL_PARAM set[] = {
  411. \& { "foo", OSSL_PARAM_UTF8_PTR, &foo, foo_l, 0 },
  412. \& { "bar", OSSL_PARAM_UTF8_STRING, (void *)&bar, sizeof(bar) \- 1, 0 },
  413. \& { NULL, 0, NULL, 0, 0 }
  414. \& };
  415. .Ve
  416. .PP
  417. \fIExample 2\fR
  418. .IX Subsection "Example 2"
  419. .PP
  420. This example is for requesting parameters on some object:
  421. .PP
  422. .Vb 9
  423. \& const char *foo = NULL;
  424. \& size_t foo_l;
  425. \& char bar[1024];
  426. \& size_t bar_l;
  427. \& OSSL_PARAM request[] = {
  428. \& { "foo", OSSL_PARAM_UTF8_PTR, &foo, 0 /*irrelevant*/, 0 },
  429. \& { "bar", OSSL_PARAM_UTF8_STRING, &bar, sizeof(bar), 0 },
  430. \& { NULL, 0, NULL, 0, 0 }
  431. \& };
  432. .Ve
  433. .PP
  434. A \fIresponder\fR that receives this array (as \fIparams\fR in this example)
  435. could fill in the parameters like this:
  436. .PP
  437. .Vb 1
  438. \& /* OSSL_PARAM *params */
  439. \&
  440. \& int i;
  441. \&
  442. \& for (i = 0; params[i].key != NULL; i++) {
  443. \& if (strcmp(params[i].key, "foo") == 0) {
  444. \& *(char **)params[i].data = "foo value";
  445. \& params[i].return_size = 9; /* length of "foo value" string */
  446. \& } else if (strcmp(params[i].key, "bar") == 0) {
  447. \& memcpy(params[i].data, "bar value", 10);
  448. \& params[i].return_size = 9; /* length of "bar value" string */
  449. \& }
  450. \& /* Ignore stuff we don\*(Aqt know */
  451. \& }
  452. .Ve
  453. .SH "SEE ALSO"
  454. .IX Header "SEE ALSO"
  455. \&\fBopenssl\-core.h\fR\|(7), \fBOSSL_PARAM_get_int\fR\|(3), \fBOSSL_PARAM_dup\fR\|(3)
  456. .SH "HISTORY"
  457. .IX Header "HISTORY"
  458. \&\fB\s-1OSSL_PARAM\s0\fR was added in OpenSSL 3.0.
  459. .SH "COPYRIGHT"
  460. .IX Header "COPYRIGHT"
  461. Copyright 2019\-2023 The OpenSSL Project Authors. All Rights Reserved.
  462. .PP
  463. Licensed under the Apache License 2.0 (the \*(L"License\*(R"). You may not use
  464. this file except in compliance with the License. You can obtain a copy
  465. in the file \s-1LICENSE\s0 in the source distribution or at
  466. <https://www.openssl.org/source/license.html>.