Lines Matching refs:extension

14 X509_REVOKED_add_ext - extension stack utility functions
66 X509v3_get_ext() retrieves extension I<loc> from I<x>. The index I<loc>
68 extension is an internal pointer which B<MUST NOT> be freed by the
71 X509v3_get_ext_by_NID() and X509v3_get_ext_by_OBJ() look for an extension
72 with I<nid> or I<obj> from extension STACK I<x>. The search starts from the
73 extension after I<lastpos> or from the beginning if I<lastpos> is -1. If
74 the extension is found, its index is returned, otherwise -1 is returned.
77 looks for an extension of criticality I<crit>. A zero value for I<crit>
78 looks for a non-critical extension. A nonzero value looks for a critical
79 extension.
81 X509v3_delete_ext() deletes the extension with index I<loc> from I<x>.
82 The deleted extension is returned and must be freed by the caller.
85 X509v3_add_ext() inserts extension I<ex> to STACK I<*x> at position I<loc>.
86 If I<loc> is -1, the new extension is added to the end.
88 The passed extension I<ex> is duplicated so it must be freed after use.
93 An extension to be added
115 Applications that want to parse or encode and add an extension should
116 use the extension encode and decode functions instead, such as
121 is not an error since extension STACK I<x> indices start from zero.
122 These search functions start from the extension B<after> the I<lastpos> parameter
123 so it should initially be set to -1. If it is set to zero, the initial extension
127 because these functions do not free the extension they delete.
133 X509v3_get_ext_count() returns the extension count or 0 for failure.
139 the extension index or -1 if an error occurs.
141 X509v3_get_ext_by_NID() returns the extension index or negative values if an