Lines Matching defs:is
72 static int TS_issuer_serial_cmp(ESS_ISSUER_SERIAL *is, X509_CINF *cinfo);
130 * - Checks if there is one and only one signer.
138 * - Returns the signer certificate in 'signer', if 'signer' is not NULL.
166 /* Check if there is one and only one signer. */
192 /* Check if the signer certificate is consistent with the
228 * The certificate chain is returned in chain. Caller is responsible for
238 /* chain is an out argument. */
307 /* Returns < 0 if certificate is not found, certificate index otherwise. */
328 ESS_ISSUER_SERIAL *is = cid->issuer_serial;
329 if (!is || !TS_issuer_serial_cmp(is, cert->cert_info))
337 static int TS_issuer_serial_cmp(ESS_ISSUER_SERIAL *is, X509_CINF *cinfo)
341 if (!is || !cinfo || sk_GENERAL_NAME_num(is->issuer) != 1) return -1;
344 issuer = sk_GENERAL_NAME_value(is->issuer, 0);
350 if (ASN1_INTEGER_cmp(is->serial, cinfo->serialNumber))
359 * - Gives an error message if the TS_TST_INFO is not present.
406 * - Check if the TSA name is the expected TSA.
463 /* Check whether the TSA is the expected one. */
640 /* algor_a is optional. */
667 /* Error if nonce is missing. */
674 /* No error if a nonce is returned without being requested. */
714 /* Returns 1 if name is in gen_names, 0 otherwise. */