Lines Matching refs:B
44 ASN.1 data structures can be associated with an B<ASN1_AUX> object to supply
45 additional information about the ASN.1 structure. An B<ASN1_AUX> structure is
47 example an B<ASN1_AUX> structure will be associated by using one of the various
52 An B<ASN1_AUX> structure contains the following information.
64 The B<ASN1_AFLG_REFCOUNT> flag indicates that objects support reference counting.
66 The B<ASN1_AFLG_ENCODING> flag indicates that the original encoding of the
69 The B<ASN1_AFLG_BROKEN> flag is a work around for broken encoders where the
72 The B<ASN1_AFLG_CONST_CB> flag indicates that the "const" form of the
73 B<ASN1_AUX> callback should be used in preference to the non-const form.
77 If the B<ASN1_AFLG_REFCOUNT> flag is set then this value is assumed to be an
78 offset into the B<ASN1_VALUE> structure where a B<CRYPTO_REF_COUNT> may be
83 If the B<ASN1_AFLG_REFCOUNT> flag is set then this value is assumed to be an
84 offset into the B<ASN1_VALUE> structure where a B<CRYPTO_RWLOCK> may be
90 the the B<ASN1_VALLUE>. See below for further details.
94 Offset into the B<ASN1_VALUE> object where the original encoding of the object
95 will be saved if the B<ASN1_AFLG_ENCODING> flag has been set.
100 the the B<ASN1_VALLUE>. This is used in preference to the I<asn1_cb> callback if
101 the B<ASN1_AFLG_CONST_CB> flag is set. See below for further details.
105 During the processing of an B<ASN1_VALUE> object the callbacks set via
108 B<ASN1_VALUE> object being processed based on the template in I<it>. An
115 =item B<ASN1_OP_NEW_PRE>
117 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
118 prior to an B<ASN1_VALUE> object being allocated. The callback may allocate the
119 B<ASN1_VALUE> itself and store it in I<*pval>. If it does so it should return 2
122 =item B<ASN1_OP_NEW_POST>
124 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
125 after an B<ASN1_VALUE> object has been allocated. The allocated object is in
128 =item B<ASN1_OP_FREE_PRE>
130 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
131 immediately before an B<ASN1_VALUE> is freed. If the callback originally
132 constructed the B<ASN1_VALUE> via B<ASN1_OP_NEW_PRE> then it should free it at
136 =item B<ASN1_OP_FREE_POST>
138 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
139 immediately after B<ASN1_VALUE> sub-structures are freed.
141 =item B<ASN1_OP_D2I_PRE>
143 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
144 immediately before a "d2i" operation for the B<ASN1_VALUE>.
146 =item B<ASN1_OP_D2I_POST>
148 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
149 immediately after a "d2i" operation for the B<ASN1_VALUE>.
151 =item B<ASN1_OP_I2D_PRE>
153 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
154 immediately before a "i2d" operation for the B<ASN1_VALUE>.
156 =item B<ASN1_OP_I2D_POST>
158 Invoked when processing a B<CHOICE>, B<SEQUENCE> or B<NDEF_SEQUENCE> structure
159 immediately after a "i2d" operation for the B<ASN1_VALUE>.
161 =item B<ASN1_OP_PRINT_PRE>
163 Invoked when processing a B<SEQUENCE> or B<NDEF_SEQUENCE> structure immediately
164 before printing the B<ASN1_VALUE>. The I<exarg> argument will be a pointer to an
165 B<ASN1_PRINT_ARG> structure (see below).
167 =item B<ASN1_OP_PRINT_POST>
169 Invoked when processing a B<SEQUENCE> or B<NDEF_SEQUENCE> structure immediately
170 after printing the B<ASN1_VALUE>. The I<exarg> argument will be a pointer to an
171 B<ASN1_PRINT_ARG> structure (see below).
173 =item B<ASN1_OP_STREAM_PRE>
175 Invoked immediately prior to streaming the B<ASN1_VALUE> data using indefinite
176 length encoding. The I<exarg> argument will be a pointer to a B<ASN1_STREAM_ARG>
179 =item B<ASN1_OP_STREAM_POST>
181 Invoked immediately after streaming the B<ASN1_VALUE> data using indefinite
182 length encoding. The I<exarg> argument will be a pointer to a B<ASN1_STREAM_ARG>
185 =item B<ASN1_OP_DETACHED_PRE>
187 Invoked immediately prior to processing the B<ASN1_VALUE> data as a "detached"
189 B<ASN1_STREAM_ARG> structure (see below).
191 =item B<ASN1_OP_DETACHED_POST>
193 Invoked immediately after processing the B<ASN1_VALUE> data as a "detached"
195 B<ASN1_STREAM_ARG> structure (see below).
197 =item B<ASN1_OP_DUP_PRE>
202 =item B<ASN1_OP_DUP_POST>
207 =item B<ASN1_OP_GET0_LIBCTX>
209 Invoked in order to obtain the B<OSSL_LIB_CTX> associated with an B<ASN1_VALUE>
210 if any. A pointer to an B<OSSL_LIB_CTX> should be stored in I<*exarg> if such
213 =item B<ASN1_OP_GET0_PROPQ>
216 B<ASN1_VALUE> if any. A pointer to the property query string should be stored in
221 An B<ASN1_PRINT_ARG> object is used during processing of B<ASN1_OP_PRINT_PRE>
222 and B<ASN1_OP_PRINT_POST> callback operations. It contains the following
229 The B<BIO> being used to print the data out.
237 The context for the B<ASN1_PCTX> operation.
241 An B<ASN1_STREAM_ARG> object is used during processing of B<ASN1_OP_STREAM_PRE>,
242 B<ASN1_OP_STREAM_POST>, B<ASN1_OP_DETACHED_PRE> and B<ASN1_OP_DETACHED_POST>
249 The B<BIO> to stream through
253 The B<BIO> with filters appended
272 The ASN1_aux_const_cb() callback and the B<ASN1_OP_GET0_LIBCTX> and
273 B<ASN1_OP_GET0_PROPQ> operation types were added in OpenSSL 3.0.