Lines Matching refs:I

55 defined structure. The name of the structure should be supplied in the I<sname>
57 be supplied in the I<tag> parameter. Finally a pointer to an
58 B<ASN1_EXTERN_FUNCS> structure should be supplied in the I<fptrs> parameter.
64 =item I<app_data>
68 =item I<asn1_ex_new>
71 newly constructed value should be stored in I<*pval>. The I<it> parameter is a
77 =item I<asn1_ex_free>
79 A "free" function responsible for freeing the B<ASN1_VALUE> passed in I<*pval>
80 that was previously allocated via a "new" function. The I<it> parameter is a
84 =item I<asn1_ex_clear>
87 in I<*pval> and making it suitable for reuse. The I<it> parameter is a pointer
91 =item I<asn1_ex_d2i>
93 A "d2i" function responsible for converting DER data with the tag I<tag> and
94 class I<class> into an B<ASN1_VALUE>. If I<*pval> is non-NULL then the
96 should be allocated and stored in I<*pval>. I<*in> points to the DER data to be
97 decoded and I<len> is the length of that data. After decoding I<*in> should be
99 is considered optional in this context then I<opt> will be nonzero. Otherwise
100 it will be zero. The I<it> parameter is a pointer to the B<ASN1_ITEM> template
103 passed in the I<ctx> parameter.
105 The I<asn1_ex_d2i> entry may be NULL if I<asn1_ex_d2i_ex> has been specified
110 =item I<asn1_ex_i2d>
113 On entry I<*pval> will contain the B<ASN1_VALUE> to be encoded. If default
114 tagging is to be used then I<tag> will be -1 on entry. Otherwise if implicit
115 tagging should be used then I<tag> and I<aclass> will be the tag and associated
118 If I<out> is not NULL then this function should write the DER encoded data to
119 the buffer in I<*out>, and then increment I<*out> to point to immediately after
122 If I<out> is NULL then no data should be written but the length calculated and
125 The I<asn1_ex_i2d> entry may be NULL if I<asn1_ex_i2d_ex> has been specified
132 =item I<asn1_ex_print>
134 A "print" function. I<out> is the BIO to print the output to. I<*pval> is the
135 B<ASN1_VALUE> to be printed. I<indent> is the number of spaces of indenting to
136 be printed before any data is printed. I<fname> is currently unused and is
137 always "". I<pctx> is a pointer to the B<ASN1_PCTX> for the print operation.
142 =item I<asn1_ex_new_ex>
144 This is the same as I<asn1_ex_new> except that it is additionally passed the
145 OSSL_LIB_CTX to be used in I<libctx> and any property query string to be used
146 for algorithm fetching in the I<propq> parameter. See
147 L<crypto(7)/ALGORITHM FETCHING> for further details. If I<asn1_ex_new_ex> is
148 non NULL, then it will always be called in preference to I<asn1_ex_new>.
150 =item I<asn1_ex_d2i_ex>
152 This is the same as I<asn1_ex_d2i> except that it is additionally passed the
153 OSSL_LIB_CTX to be used in I<libctx> and any property query string to be used
154 for algorithm fetching in the I<propq> parameter. See
155 L<crypto(7)/ALGORITHM FETCHING> for further details. If I<asn1_ex_d2i_ex> is
156 non NULL, then it will always be called in preference to I<asn1_ex_d2i>.
170 The I<asn1_ex_new_ex> and I<asn1_ex_d2i_ex> callbacks were added in OpenSSL 3.0.