ASN1_aux_cb.3ossl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  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 "ASN1_AUX_CB 3ossl"
  136. .TH ASN1_AUX_CB 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. ASN1_AUX, ASN1_PRINT_ARG, ASN1_STREAM_ARG, ASN1_aux_cb, ASN1_aux_const_cb
  143. \&\- ASN.1 auxiliary data
  144. .SH "SYNOPSIS"
  145. .IX Header "SYNOPSIS"
  146. .Vb 1
  147. \& #include <openssl/asn1t.h>
  148. \&
  149. \& struct ASN1_AUX_st {
  150. \& void *app_data;
  151. \& int flags;
  152. \& int ref_offset; /* Offset of reference value */
  153. \& int ref_lock; /* Offset to an CRYPTO_RWLOCK */
  154. \& ASN1_aux_cb *asn1_cb;
  155. \& int enc_offset; /* Offset of ASN1_ENCODING structure */
  156. \& ASN1_aux_const_cb *asn1_const_cb; /* for ASN1_OP_I2D_ and ASN1_OP_PRINT_ */
  157. \& };
  158. \& typedef struct ASN1_AUX_st ASN1_AUX;
  159. \&
  160. \& struct ASN1_PRINT_ARG_st {
  161. \& BIO *out;
  162. \& int indent;
  163. \& const ASN1_PCTX *pctx;
  164. \& };
  165. \& typedef struct ASN1_PRINT_ARG_st ASN1_PRINT_ARG;
  166. \&
  167. \& struct ASN1_STREAM_ARG_st {
  168. \& BIO *out;
  169. \& BIO *ndef_bio;
  170. \& unsigned char **boundary;
  171. \& };
  172. \& typedef struct ASN1_STREAM_ARG_st ASN1_STREAM_ARG;
  173. \&
  174. \& typedef int ASN1_aux_cb(int operation, ASN1_VALUE **in, const ASN1_ITEM *it,
  175. \& void *exarg);
  176. \& typedef int ASN1_aux_const_cb(int operation, const ASN1_VALUE **in,
  177. \& const ASN1_ITEM *it, void *exarg);
  178. .Ve
  179. .SH "DESCRIPTION"
  180. .IX Header "DESCRIPTION"
  181. \&\s-1ASN.1\s0 data structures can be associated with an \fB\s-1ASN1_AUX\s0\fR object to supply
  182. additional information about the \s-1ASN.1\s0 structure. An \fB\s-1ASN1_AUX\s0\fR structure is
  183. associated with the structure during the definition of the \s-1ASN.1\s0 template. For
  184. example an \fB\s-1ASN1_AUX\s0\fR structure will be associated by using one of the various
  185. \&\s-1ASN.1\s0 template definition macros that supply auxiliary information such as
  186. \&\fBASN1_SEQUENCE_enc()\fR, \fBASN1_SEQUENCE_ref()\fR, \fBASN1_SEQUENCE_cb_const_cb()\fR,
  187. \&\fBASN1_SEQUENCE_const_cb()\fR, \fBASN1_SEQUENCE_cb()\fR or \fBASN1_NDEF_SEQUENCE_cb()\fR.
  188. .PP
  189. An \fB\s-1ASN1_AUX\s0\fR structure contains the following information.
  190. .IP "\fIapp_data\fR" 4
  191. .IX Item "app_data"
  192. Arbitrary application data
  193. .IP "\fIflags\fR" 4
  194. .IX Item "flags"
  195. Flags which indicate the auxiliarly functionality supported.
  196. .Sp
  197. The \fB\s-1ASN1_AFLG_REFCOUNT\s0\fR flag indicates that objects support reference counting.
  198. .Sp
  199. The \fB\s-1ASN1_AFLG_ENCODING\s0\fR flag indicates that the original encoding of the
  200. object will be saved.
  201. .Sp
  202. The \fB\s-1ASN1_AFLG_BROKEN\s0\fR flag is a work around for broken encoders where the
  203. sequence length value may not be correct. This should generally not be used.
  204. .Sp
  205. The \fB\s-1ASN1_AFLG_CONST_CB\s0\fR flag indicates that the \*(L"const\*(R" form of the
  206. \&\fB\s-1ASN1_AUX\s0\fR callback should be used in preference to the non-const form.
  207. .IP "\fIref_offset\fR" 4
  208. .IX Item "ref_offset"
  209. If the \fB\s-1ASN1_AFLG_REFCOUNT\s0\fR flag is set then this value is assumed to be an
  210. offset into the \fB\s-1ASN1_VALUE\s0\fR structure where a \fB\s-1CRYPTO_REF_COUNT\s0\fR may be
  211. found for the purposes of reference counting.
  212. .IP "\fIref_lock\fR" 4
  213. .IX Item "ref_lock"
  214. If the \fB\s-1ASN1_AFLG_REFCOUNT\s0\fR flag is set then this value is assumed to be an
  215. offset into the \fB\s-1ASN1_VALUE\s0\fR structure where a \fB\s-1CRYPTO_RWLOCK\s0\fR may be
  216. found for the purposes of reference counting.
  217. .IP "\fIasn1_cb\fR" 4
  218. .IX Item "asn1_cb"
  219. A callback that will be invoked at various points during the processing of
  220. the the \fB\s-1ASN1_VALLUE\s0\fR. See below for further details.
  221. .IP "\fIenc_offset\fR" 4
  222. .IX Item "enc_offset"
  223. Offset into the \fB\s-1ASN1_VALUE\s0\fR object where the original encoding of the object
  224. will be saved if the \fB\s-1ASN1_AFLG_ENCODING\s0\fR flag has been set.
  225. .IP "\fIasn1_const_cb\fR" 4
  226. .IX Item "asn1_const_cb"
  227. A callback that will be invoked at various points during the processing of
  228. the the \fB\s-1ASN1_VALLUE\s0\fR. This is used in preference to the \fIasn1_cb\fR callback if
  229. the \fB\s-1ASN1_AFLG_CONST_CB\s0\fR flag is set. See below for further details.
  230. .PP
  231. During the processing of an \fB\s-1ASN1_VALUE\s0\fR object the callbacks set via
  232. \&\fIasn1_cb\fR or \fIasn1_const_cb\fR will be invoked as a result of various events
  233. indicated via the \fIoperation\fR parameter. The value of \fI*in\fR will be the
  234. \&\fB\s-1ASN1_VALUE\s0\fR object being processed based on the template in \fIit\fR. An
  235. additional operation specific parameter may be passed in \fIexarg\fR. The currently
  236. supported operations are as follows. The callbacks should return a positive
  237. value on success or zero on error, unless otherwise noted below.
  238. .IP "\fB\s-1ASN1_OP_NEW_PRE\s0\fR" 4
  239. .IX Item "ASN1_OP_NEW_PRE"
  240. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  241. prior to an \fB\s-1ASN1_VALUE\s0\fR object being allocated. The callback may allocate the
  242. \&\fB\s-1ASN1_VALUE\s0\fR itself and store it in \fI*pval\fR. If it does so it should return 2
  243. from the callback. On error it should return 0.
  244. .IP "\fB\s-1ASN1_OP_NEW_POST\s0\fR" 4
  245. .IX Item "ASN1_OP_NEW_POST"
  246. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  247. after an \fB\s-1ASN1_VALUE\s0\fR object has been allocated. The allocated object is in
  248. \&\fI*pval\fR.
  249. .IP "\fB\s-1ASN1_OP_FREE_PRE\s0\fR" 4
  250. .IX Item "ASN1_OP_FREE_PRE"
  251. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  252. immediately before an \fB\s-1ASN1_VALUE\s0\fR is freed. If the callback originally
  253. constructed the \fB\s-1ASN1_VALUE\s0\fR via \fB\s-1ASN1_OP_NEW_PRE\s0\fR then it should free it at
  254. this point and return 2 from the callback. Otherwise it should return 1 for
  255. success or 0 on error.
  256. .IP "\fB\s-1ASN1_OP_FREE_POST\s0\fR" 4
  257. .IX Item "ASN1_OP_FREE_POST"
  258. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  259. immediately after \fB\s-1ASN1_VALUE\s0\fR sub-structures are freed.
  260. .IP "\fB\s-1ASN1_OP_D2I_PRE\s0\fR" 4
  261. .IX Item "ASN1_OP_D2I_PRE"
  262. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  263. immediately before a \*(L"d2i\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
  264. .IP "\fB\s-1ASN1_OP_D2I_POST\s0\fR" 4
  265. .IX Item "ASN1_OP_D2I_POST"
  266. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  267. immediately after a \*(L"d2i\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
  268. .IP "\fB\s-1ASN1_OP_I2D_PRE\s0\fR" 4
  269. .IX Item "ASN1_OP_I2D_PRE"
  270. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  271. immediately before a \*(L"i2d\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
  272. .IP "\fB\s-1ASN1_OP_I2D_POST\s0\fR" 4
  273. .IX Item "ASN1_OP_I2D_POST"
  274. Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure
  275. immediately after a \*(L"i2d\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
  276. .IP "\fB\s-1ASN1_OP_PRINT_PRE\s0\fR" 4
  277. .IX Item "ASN1_OP_PRINT_PRE"
  278. Invoked when processing a \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure immediately
  279. before printing the \fB\s-1ASN1_VALUE\s0\fR. The \fIexarg\fR argument will be a pointer to an
  280. \&\fB\s-1ASN1_PRINT_ARG\s0\fR structure (see below).
  281. .IP "\fB\s-1ASN1_OP_PRINT_POST\s0\fR" 4
  282. .IX Item "ASN1_OP_PRINT_POST"
  283. Invoked when processing a \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure immediately
  284. after printing the \fB\s-1ASN1_VALUE\s0\fR. The \fIexarg\fR argument will be a pointer to an
  285. \&\fB\s-1ASN1_PRINT_ARG\s0\fR structure (see below).
  286. .IP "\fB\s-1ASN1_OP_STREAM_PRE\s0\fR" 4
  287. .IX Item "ASN1_OP_STREAM_PRE"
  288. Invoked immediately prior to streaming the \fB\s-1ASN1_VALUE\s0\fR data using indefinite
  289. length encoding. The \fIexarg\fR argument will be a pointer to a \fB\s-1ASN1_STREAM_ARG\s0\fR
  290. structure (see below).
  291. .IP "\fB\s-1ASN1_OP_STREAM_POST\s0\fR" 4
  292. .IX Item "ASN1_OP_STREAM_POST"
  293. Invoked immediately after streaming the \fB\s-1ASN1_VALUE\s0\fR data using indefinite
  294. length encoding. The \fIexarg\fR argument will be a pointer to a \fB\s-1ASN1_STREAM_ARG\s0\fR
  295. structure (see below).
  296. .IP "\fB\s-1ASN1_OP_DETACHED_PRE\s0\fR" 4
  297. .IX Item "ASN1_OP_DETACHED_PRE"
  298. Invoked immediately prior to processing the \fB\s-1ASN1_VALUE\s0\fR data as a \*(L"detached\*(R"
  299. value (as used in \s-1CMS\s0 and \s-1PKCS7\s0). The \fIexarg\fR argument will be a pointer to a
  300. \&\fB\s-1ASN1_STREAM_ARG\s0\fR structure (see below).
  301. .IP "\fB\s-1ASN1_OP_DETACHED_POST\s0\fR" 4
  302. .IX Item "ASN1_OP_DETACHED_POST"
  303. Invoked immediately after processing the \fB\s-1ASN1_VALUE\s0\fR data as a \*(L"detached\*(R"
  304. value (as used in \s-1CMS\s0 and \s-1PKCS7\s0). The \fIexarg\fR argument will be a pointer to a
  305. \&\fB\s-1ASN1_STREAM_ARG\s0\fR structure (see below).
  306. .IP "\fB\s-1ASN1_OP_DUP_PRE\s0\fR" 4
  307. .IX Item "ASN1_OP_DUP_PRE"
  308. Invoked immediate prior to an \s-1ASN1_VALUE\s0 being duplicated via a call to
  309. \&\fBASN1_item_dup()\fR.
  310. .IP "\fB\s-1ASN1_OP_DUP_POST\s0\fR" 4
  311. .IX Item "ASN1_OP_DUP_POST"
  312. Invoked immediate after to an \s-1ASN1_VALUE\s0 has been duplicated via a call to
  313. \&\fBASN1_item_dup()\fR.
  314. .IP "\fB\s-1ASN1_OP_GET0_LIBCTX\s0\fR" 4
  315. .IX Item "ASN1_OP_GET0_LIBCTX"
  316. Invoked in order to obtain the \fB\s-1OSSL_LIB_CTX\s0\fR associated with an \fB\s-1ASN1_VALUE\s0\fR
  317. if any. A pointer to an \fB\s-1OSSL_LIB_CTX\s0\fR should be stored in \fI*exarg\fR if such
  318. a value exists.
  319. .IP "\fB\s-1ASN1_OP_GET0_PROPQ\s0\fR" 4
  320. .IX Item "ASN1_OP_GET0_PROPQ"
  321. Invoked in order to obtain the property query string associated with an
  322. \&\fB\s-1ASN1_VALUE\s0\fR if any. A pointer to the property query string should be stored in
  323. \&\fI*exarg\fR if such a value exists.
  324. .PP
  325. An \fB\s-1ASN1_PRINT_ARG\s0\fR object is used during processing of \fB\s-1ASN1_OP_PRINT_PRE\s0\fR
  326. and \fB\s-1ASN1_OP_PRINT_POST\s0\fR callback operations. It contains the following
  327. information.
  328. .IP "\fIout\fR" 4
  329. .IX Item "out"
  330. The \fB\s-1BIO\s0\fR being used to print the data out.
  331. .IP "\fIndef_bio\fR" 4
  332. .IX Item "ndef_bio"
  333. The current number of indent spaces that should be used for printing this data.
  334. .IP "\fIpctx\fR" 4
  335. .IX Item "pctx"
  336. The context for the \fB\s-1ASN1_PCTX\s0\fR operation.
  337. .PP
  338. An \fB\s-1ASN1_STREAM_ARG\s0\fR object is used during processing of \fB\s-1ASN1_OP_STREAM_PRE\s0\fR,
  339. \&\fB\s-1ASN1_OP_STREAM_POST\s0\fR, \fB\s-1ASN1_OP_DETACHED_PRE\s0\fR and \fB\s-1ASN1_OP_DETACHED_POST\s0\fR
  340. callback operations. It contains the following information.
  341. .IP "\fIout\fR" 4
  342. .IX Item "out"
  343. The \fB\s-1BIO\s0\fR to stream through
  344. .IP "\fIndef_bio\fR" 4
  345. .IX Item "ndef_bio"
  346. The \fB\s-1BIO\s0\fR with filters appended
  347. .IP "\fIboundary\fR" 4
  348. .IX Item "boundary"
  349. The streaming I/O boundary.
  350. .SH "RETURN VALUES"
  351. .IX Header "RETURN VALUES"
  352. The callbacks return 0 on error and a positive value on success. Some operations
  353. require specific positive success values as noted above.
  354. .SH "SEE ALSO"
  355. .IX Header "SEE ALSO"
  356. \&\fBASN1_item_new_ex\fR\|(3)
  357. .SH "HISTORY"
  358. .IX Header "HISTORY"
  359. The \fBASN1_aux_const_cb()\fR callback and the \fB\s-1ASN1_OP_GET0_LIBCTX\s0\fR and
  360. \&\fB\s-1ASN1_OP_GET0_PROPQ\s0\fR operation types were added in OpenSSL 3.0.
  361. .SH "COPYRIGHT"
  362. .IX Header "COPYRIGHT"
  363. Copyright 2021\-2022 The OpenSSL Project Authors. All Rights Reserved.
  364. .PP
  365. Licensed under the Apache License 2.0 (the \*(L"License\*(R"). You may not use
  366. this file except in compliance with the License. You can obtain a copy
  367. in the file \s-1LICENSE\s0 in the source distribution or at
  368. <https://www.openssl.org/source/license.html>.