Lines Matching full:s0
179 \&\s-1ASN.1\s0 data structures can be associated with an \fB\s-1ASN1_AUX\s0\fR object to supply
180 additional information about the \s-1ASN.1\s0 structure. An \fB\s-1ASN1_AUX\s0\fR structure is
181 associated with the structure during the definition of the \s-1ASN.1\s0 template. For
182 example an \fB\s-1ASN1_AUX\s0\fR structure will be associated by using one of the various
183 \&\s-1ASN.1\s0 template definition macros that supply auxiliary information such as
187 An \fB\s-1ASN1_AUX\s0\fR structure contains the following information.
195 The \fB\s-1ASN1_AFLG_REFCOUNT\s0\fR flag indicates that objects support reference counting.
197 The \fB\s-1ASN1_AFLG_ENCODING\s0\fR flag indicates that the original encoding of the
200 The \fB\s-1ASN1_AFLG_BROKEN\s0\fR flag is a work around for broken encoders where the
203 The \fB\s-1ASN1_AFLG_CONST_CB\s0\fR flag indicates that the \*(L"const\*(R" form of the
204 \&\fB\s-1ASN1_AUX\s0\fR callback should be used in preference to the non-const form.
207 If the \fB\s-1ASN1_AFLG_REFCOUNT\s0\fR flag is set then this value is assumed to be an
208 offset into the \fB\s-1ASN1_VALUE\s0\fR structure where a \fB\s-1CRYPTO_REF_COUNT\s0\fR may be
212 If the \fB\s-1ASN1_AFLG_REFCOUNT\s0\fR flag is set then this value is assumed to be an
213 offset into the \fB\s-1ASN1_VALUE\s0\fR structure where a \fB\s-1CRYPTO_RWLOCK\s0\fR may be
218 the the \fB\s-1ASN1_VALLUE\s0\fR. See below for further details.
221 Offset into the \fB\s-1ASN1_VALUE\s0\fR object where the original encoding of the object
222 will be saved if the \fB\s-1ASN1_AFLG_ENCODING\s0\fR flag has been set.
226 the the \fB\s-1ASN1_VALLUE\s0\fR. This is used in preference to the \fIasn1_cb\fR callback if
227 the \fB\s-1ASN1_AFLG_CONST_CB\s0\fR flag is set. See below for further details.
229 During the processing of an \fB\s-1ASN1_VALUE\s0\fR object the callbacks set via
232 \&\fB\s-1ASN1_VALUE\s0\fR object being processed based on the template in \fIit\fR. An
236 .IP "\fB\s-1ASN1_OP_NEW_PRE\s0\fR" 4
238 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
239 prior to an \fB\s-1ASN1_VALUE\s0\fR object being allocated. The callback may allocate the
240 \&\fB\s-1ASN1_VALUE\s0\fR itself and store it in \fI*pval\fR. If it does so it should return 2
242 .IP "\fB\s-1ASN1_OP_NEW_POST\s0\fR" 4
244 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
245 after an \fB\s-1ASN1_VALUE\s0\fR object has been allocated. The allocated object is in
247 .IP "\fB\s-1ASN1_OP_FREE_PRE\s0\fR" 4
249 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
250 immediately before an \fB\s-1ASN1_VALUE\s0\fR is freed. If the callback originally
251 constructed the \fB\s-1ASN1_VALUE\s0\fR via \fB\s-1ASN1_OP_NEW_PRE\s0\fR then it should free it at
254 .IP "\fB\s-1ASN1_OP_FREE_POST\s0\fR" 4
256 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
257 immediately after \fB\s-1ASN1_VALUE\s0\fR sub-structures are freed.
258 .IP "\fB\s-1ASN1_OP_D2I_PRE\s0\fR" 4
260 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
261 immediately before a \*(L"d2i\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
262 .IP "\fB\s-1ASN1_OP_D2I_POST\s0\fR" 4
264 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
265 immediately after a \*(L"d2i\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
266 .IP "\fB\s-1ASN1_OP_I2D_PRE\s0\fR" 4
268 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
269 immediately before a \*(L"i2d\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
270 .IP "\fB\s-1ASN1_OP_I2D_POST\s0\fR" 4
272 Invoked when processing a \fB\s-1CHOICE\s0\fR, \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR …
273 immediately after a \*(L"i2d\*(R" operation for the \fB\s-1ASN1_VALUE\s0\fR.
274 .IP "\fB\s-1ASN1_OP_PRINT_PRE\s0\fR" 4
276 Invoked when processing a \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure immediately
277 before printing the \fB\s-1ASN1_VALUE\s0\fR. The \fIexarg\fR argument will be a pointer to an
278 \&\fB\s-1ASN1_PRINT_ARG\s0\fR structure (see below).
279 .IP "\fB\s-1ASN1_OP_PRINT_POST\s0\fR" 4
281 Invoked when processing a \fB\s-1SEQUENCE\s0\fR or \fB\s-1NDEF_SEQUENCE\s0\fR structure immediately
282 after printing the \fB\s-1ASN1_VALUE\s0\fR. The \fIexarg\fR argument will be a pointer to an
283 \&\fB\s-1ASN1_PRINT_ARG\s0\fR structure (see below).
284 .IP "\fB\s-1ASN1_OP_STREAM_PRE\s0\fR" 4
286 Invoked immediately prior to streaming the \fB\s-1ASN1_VALUE\s0\fR data using indefinite
287 length encoding. The \fIexarg\fR argument will be a pointer to a \fB\s-1ASN1_STREAM_ARG\s0\fR
289 .IP "\fB\s-1ASN1_OP_STREAM_POST\s0\fR" 4
291 Invoked immediately after streaming the \fB\s-1ASN1_VALUE\s0\fR data using indefinite
292 length encoding. The \fIexarg\fR argument will be a pointer to a \fB\s-1ASN1_STREAM_ARG\s0\fR
294 .IP "\fB\s-1ASN1_OP_DETACHED_PRE\s0\fR" 4
296 Invoked immediately prior to processing the \fB\s-1ASN1_VALUE\s0\fR data as a \*(L"detached\*(R"
297 value (as used in \s-1CMS\s0 and \s-1PKCS7\s0). The \fIexarg\fR argument will be a pointer to a
298 \&\fB\s-1ASN1_STREAM_ARG\s0\fR structure (see below).
299 .IP "\fB\s-1ASN1_OP_DETACHED_POST\s0\fR" 4
301 Invoked immediately after processing the \fB\s-1ASN1_VALUE\s0\fR data as a \*(L"detached\*(R"
302 value (as used in \s-1CMS\s0 and \s-1PKCS7\s0). The \fIexarg\fR argument will be a pointer to a
303 \&\fB\s-1ASN1_STREAM_ARG\s0\fR structure (see below).
304 .IP "\fB\s-1ASN1_OP_DUP_PRE\s0\fR" 4
306 Invoked immediate prior to an \s-1ASN1_VALUE\s0 being duplicated via a call to
308 .IP "\fB\s-1ASN1_OP_DUP_POST\s0\fR" 4
310 Invoked immediate after to an \s-1ASN1_VALUE\s0 has been duplicated via a call to
312 .IP "\fB\s-1ASN1_OP_GET0_LIBCTX\s0\fR" 4
314 Invoked in order to obtain the \fB\s-1OSSL_LIB_CTX\s0\fR associated with an \fB\s-1ASN1_VALUE\s0\fR
315 if any. A pointer to an \fB\s-1OSSL_LIB_CTX\s0\fR should be stored in \fI*exarg\fR if such
317 .IP "\fB\s-1ASN1_OP_GET0_PROPQ\s0\fR" 4
320 \&\fB\s-1ASN1_VALUE\s0\fR if any. A pointer to the property query string should be stored in
323 An \fB\s-1ASN1_PRINT_ARG\s0\fR object is used during processing of \fB\s-1ASN1_OP_PRINT_PRE\s0\fR
324 and \fB\s-1ASN1_OP_PRINT_POST\s0\fR callback operations. It contains the following
328 The \fB\s-1BIO\s0\fR being used to print the data out.
334 The context for the \fB\s-1ASN1_PCTX\s0\fR operation.
336 An \fB\s-1ASN1_STREAM_ARG\s0\fR object is used during processing of \fB\s-1ASN1_OP_STREAM_PRE\s0\fR,
337 \&\fB\s-1ASN1_OP_STREAM_POST\s0\fR, \fB\s-1ASN1_OP_DETACHED_PRE\s0\fR and \fB\s-1ASN1_OP_DETACHED_P…
341 The \fB\s-1BIO\s0\fR to stream through
344 The \fB\s-1BIO\s0\fR with filters appended
357 The \fBASN1_aux_const_cb()\fR callback and the \fB\s-1ASN1_OP_GET0_LIBCTX\s0\fR and
358 \&\fB\s-1ASN1_OP_GET0_PROPQ\s0\fR operation types were added in OpenSSL 3.0.
365 in the file \s-1LICENSE\s0 in the source distribution or at