Lines Matching refs:si
26 int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr) in IMPLEMENT_ASN1_FUNCTIONS()
34 str = CMS_signed_get0_data_by_OBJ(si, obj, -3, V_ASN1_SEQUENCE); in IMPLEMENT_ASN1_FUNCTIONS()
52 static int ossl_cms_signerinfo_get_signing_cert(const CMS_SignerInfo *si, in ossl_cms_signerinfo_get_signing_cert() argument
61 str = CMS_signed_get0_data_by_OBJ(si, obj, -3, V_ASN1_SEQUENCE); in ossl_cms_signerinfo_get_signing_cert()
79 static int ossl_cms_signerinfo_get_signing_cert_v2(const CMS_SignerInfo *si, in ossl_cms_signerinfo_get_signing_cert_v2() argument
88 str = CMS_signed_get0_data_by_OBJ(si, obj, -3, V_ASN1_SEQUENCE); in ossl_cms_signerinfo_get_signing_cert_v2()
102 int ossl_cms_check_signing_certs(const CMS_SignerInfo *si, in ossl_cms_check_signing_certs() argument
107 int ret = ossl_cms_signerinfo_get_signing_cert(si, &ss) >= 0 in ossl_cms_check_signing_certs()
108 && ossl_cms_signerinfo_get_signing_cert_v2(si, &ssv2) >= 0 in ossl_cms_check_signing_certs()
167 int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr) in CMS_add1_ReceiptRequest() argument
178 if (!CMS_signed_add1_attr_by_NID(si, NID_id_smime_aa_receiptRequest, in CMS_add1_ReceiptRequest()
218 static int cms_msgSigDigest(CMS_SignerInfo *si, in cms_msgSigDigest() argument
221 const EVP_MD *md = EVP_get_digestbyobj(si->digestAlgorithm->algorithm); in cms_msgSigDigest()
226 si->signedAttrs, dig, diglen, in cms_msgSigDigest()
227 ossl_cms_ctx_get0_libctx(si->cms_ctx), in cms_msgSigDigest()
228 ossl_cms_ctx_get0_propq(si->cms_ctx))) in cms_msgSigDigest()
260 CMS_SignerInfo *si, *osi = NULL; in ossl_cms_Receipt_verify() local
310 si = sk_CMS_SignerInfo_value(sis, 0); in ossl_cms_Receipt_verify()
314 msig = CMS_signed_get0_data_by_OBJ(si, in ossl_cms_Receipt_verify()
383 ASN1_OCTET_STRING *ossl_cms_encode_Receipt(CMS_SignerInfo *si) in ossl_cms_encode_Receipt() argument
394 if (CMS_get1_ReceiptRequest(si, &rr) <= 0) { in ossl_cms_encode_Receipt()
401 ctype = CMS_signed_get0_data_by_OBJ(si, in ossl_cms_encode_Receipt()
412 rct.originatorSignatureValue = si->signature; in ossl_cms_encode_Receipt()