Lines Matching refs:I

101 X509at_get_attr_by_OBJ() finds the location of the first matching object I<obj>
102 in a list of attributes I<sk>. The search starts at the position after I<lastpos>.
104 X509at_get_attr_by_OBJ() as the value of I<lastpos> in order to iterate through
105 the remaining attributes. I<lastpos> can be set to any negative value on the
109 passes the numerical identifier (NID) I<nid> associated with the object.
112 X509at_get_attr() returns the B<X509_ATTRIBUTE> object at index I<loc> in the
113 list of attributes I<x>. I<loc> should be in the range from 0 to
116 X509at_delete_attr() removes the B<X509_ATTRIBUTE> object at index I<loc> in
117 the list of attributes I<x>.
120 to the list I<x>.
121 Both I<x> and I<attr> must be non NULL or an error will occur.
122 If I<*x> is NULL then a new list is created, otherwise it uses the
128 I<obj> with type I<type> and data I<bytes> of length I<len> and then pushes it
129 to the attribute list I<x>. Both I<x> and I<attr> must be non NULL or an error
130 will occur. If I<*x> is NULL then a new attribute list is created. If I<obj>
134 passes the numerical identifier (NID) I<nid> associated with the object.
138 passes a name I<attrname> associated with the object.
141 X509_ATTRIBUTE_set1_object() assigns a B<ASN1_OBJECT> I<obj>
142 to the attribute I<attr>. If I<attr> contained an existing B<ASN1_OBJECT> then
143 it is freed. An error occurs if either I<attr> or I<obj> are NULL, or if
144 the passed in I<obj> cannot be duplicated.
146 X509_ATTRIBUTE_set1_data() pushes a new B<ASN1_TYPE> object onto the I<attr>
147 attributes list. The new object is assigned a copy of the data in I<data> of
148 size I<len>.
149 If I<attrtype> has flag I<MBSTRING_FLAG> set then a table lookup using the
150 I<attr> attributes NID is used to set an B<ASN1_STRING> using
151 ASN1_STRING_set_by_NID(), and the passed in I<data> must be in the format
153 If I<len> is not -1 then internally ASN1_STRING_type_new() is
154 used with the passed in I<attrtype>.
155 If I<attrtype> is 0 the call does nothing except return 1.
157 X509_ATTRIBUTE_create() creates a new B<X509_ATTRIBUTE> using the I<nid>
158 to set the B<ASN1_OBJECT> OID and the I<atrtype> and I<value> to set the
162 X509_ATTRIBUTE_set1_data() to assign a new I<obj> with type I<atrtype> and
163 data I<data> of length I<len>. If the passed in attribute I<attr> OR I<*attr> is
165 B<X509_ATTRIBUTE> is used. Note that the ASN1_OBJECT I<obj> is pushed onto the
170 except that it passes the numerical identifier (NID) I<nid> associated with the
174 except that it passes a name I<atrname> associated with the
178 attribute I<attr>.
180 X509_ATTRIBUTE_get0_type() returns the B<ASN1_TYPE> object at index I<idx> in
181 the attribute list I<attr>. I<idx> should be in the
185 index I<idx> in the attribute I<attr>. I<data> is unused and can be set to NULL.
186 An error will occur if the attribute type I<atrtype> does not match the type of
187 the B<ASN1_TYPE> object at index I<idx> OR if I<atrtype> is either
188 B<V_ASN1_BOOLEAN> or B<V_ASN1_NULL> OR if the I<idx> is not in the
191 X509at_get0_data_by_OBJ() finds the first attribute in an attribute list I<x>
192 that matches the I<obj> starting at index I<lastpos> and returns the data
194 occur if the attribute type I<type> does not match the type of the B<ASN1_TYPE>
195 object OR if I<type> is either B<V_ASN1_BOOLEAN> or B<V_ASN1_NULL> OR the
197 If I<lastpos> is less than -1 then an error will occur if there are multiple
198 objects in the list I<x> that match I<obj>.
199 If I<lastpos> is less than -2 then an error will occur if there is more than
204 X509at_get_attr_count() returns the number of attributes in the list I<x> or -1
205 if I<x> is NULL.
211 it returns -2 if the I<nid> is not known by OpenSSL.