Lines Matching refs:obj
147 MyObject *obj = NULL, *loaded_obj = NULL;
153 obj = MyObject_new();
154 if (obj == NULL)
156 if (!ASN1_INTEGER_set(obj->info.version, version))
167 * obj->info is the 'MySignInfoObject' object that will be
169 * obj->signature will contain the output signature.
170 * obj->sig_alg is filled with the private key's signing algorithm id.
171 * obj->info.sig_alg is another copy of the signing algorithm id that sits
174 len = ASN1_item_sign_ctx(it, &obj->sig_alg, &obj->info.sig_alg,
175 obj->signature, &obj->info, sctx);
177 || X509_ALGOR_cmp(&obj->sig_alg, &obj->info.sig_alg) != 0)
181 len = i2d_MyObject(obj, &obj_der);
202 MyObject_free(obj);