Lines Matching defs:is
74 static int TS_issuer_serial_cmp(ESS_ISSUER_SERIAL *is, X509_CINF *cinfo);
149 * - Checks if there is one and only one signer.
157 * - Returns the signer certificate in 'signer', if 'signer' is not NULL.
183 /* Check if there is one and only one signer. */
211 * Check if the signer certificate is consistent with the ESS extension.
246 * The certificate chain is returned in chain. Caller is responsible for
256 /* chain is an out argument. */
327 /* Returns < 0 if certificate is not found, certificate index otherwise. */
347 ESS_ISSUER_SERIAL *is = cid->issuer_serial;
348 if (!is || !TS_issuer_serial_cmp(is, cert->cert_info))
356 static int TS_issuer_serial_cmp(ESS_ISSUER_SERIAL *is, X509_CINF *cinfo)
360 if (!is || !cinfo || sk_GENERAL_NAME_num(is->issuer) != 1)
364 issuer = sk_GENERAL_NAME_value(is->issuer, 0);
370 if (ASN1_INTEGER_cmp(is->serial, cinfo->serialNumber))
379 * - Gives an error message if the TS_TST_INFO is not present.
426 * - Check if the TSA name is the expected TSA.
480 /* Check whether the TSA is the expected one. */
653 /* algor_a is optional. */
680 /* Error if nonce is missing. */
686 /* No error if a nonce is returned without being requested. */
728 /* Returns 1 if name is in gen_names, 0 otherwise. */