Lines Matching refs:si
283 TS_STATUS_INFO *si = NULL; in TS_RESP_CTX_set_status_info() local
287 if ((si = TS_STATUS_INFO_new()) == NULL) { in TS_RESP_CTX_set_status_info()
291 if (!ASN1_INTEGER_set(si->status, status)) { in TS_RESP_CTX_set_status_info()
301 if (si->text == NULL in TS_RESP_CTX_set_status_info()
302 && (si->text = sk_ASN1_UTF8STRING_new_null()) == NULL) { in TS_RESP_CTX_set_status_info()
306 if (!sk_ASN1_UTF8STRING_push(si->text, utf8_text)) { in TS_RESP_CTX_set_status_info()
312 if (!TS_RESP_set_status_info(ctx->response, si)) { in TS_RESP_CTX_set_status_info()
318 TS_STATUS_INFO_free(si); in TS_RESP_CTX_set_status_info()
327 TS_STATUS_INFO *si = ctx->response->status_info; in TS_RESP_CTX_set_status_info_cond() local
329 if (ASN1_INTEGER_get(si->status) == TS_STATUS_GRANTED) { in TS_RESP_CTX_set_status_info_cond()
337 TS_STATUS_INFO *si = ctx->response->status_info; in TS_RESP_CTX_add_failure_info() local
338 if (si->failure_info == NULL in TS_RESP_CTX_add_failure_info()
339 && (si->failure_info = ASN1_BIT_STRING_new()) == NULL) in TS_RESP_CTX_add_failure_info()
341 if (!ASN1_BIT_STRING_set_bit(si->failure_info, failure, 1)) in TS_RESP_CTX_add_failure_info()
627 static int ossl_ess_add1_signing_cert(PKCS7_SIGNER_INFO *si, in ossl_ess_add1_signing_cert() argument
646 return PKCS7_add_signed_attribute(si, NID_id_smime_aa_signingCertificate, in ossl_ess_add1_signing_cert()
650 static int ossl_ess_add1_signing_cert_v2(PKCS7_SIGNER_INFO *si, in ossl_ess_add1_signing_cert_v2() argument
669 return PKCS7_add_signed_attribute(si, NID_id_smime_aa_signingCertificateV2, in ossl_ess_add1_signing_cert_v2()
677 PKCS7_SIGNER_INFO *si; in ts_RESP_sign() local
718 if ((si = PKCS7_add_signature(p7, ctx->signer_cert, in ts_RESP_sign()
725 if (!PKCS7_add_signed_attribute(si, NID_pkcs9_contentType, in ts_RESP_sign()
738 if (!ossl_ess_add1_signing_cert(si, sc)) { in ts_RESP_sign()
748 if (!ossl_ess_add1_signing_cert_v2(si, sc2)) { in ts_RESP_sign()