Lines Matching refs:sid

100         if (si->sid->type == CMS_SIGNERINFO_KEYIDENTIFIER) {  in cms_sd_set_version()
175 int ossl_cms_set1_SignerIdentifier(CMS_SignerIdentifier *sid, X509 *cert, in ossl_cms_set1_SignerIdentifier() argument
180 if (!ossl_cms_set1_ias(&sid->d.issuerAndSerialNumber, cert)) in ossl_cms_set1_SignerIdentifier()
185 if (!ossl_cms_set1_keyid(&sid->d.subjectKeyIdentifier, cert)) in ossl_cms_set1_SignerIdentifier()
194 sid->type = type; in ossl_cms_set1_SignerIdentifier()
199 int ossl_cms_SignerIdentifier_get0_signer_id(CMS_SignerIdentifier *sid, in ossl_cms_SignerIdentifier_get0_signer_id() argument
204 if (sid->type == CMS_SIGNERINFO_ISSUER_SERIAL) { in ossl_cms_SignerIdentifier_get0_signer_id()
206 *issuer = sid->d.issuerAndSerialNumber->issuer; in ossl_cms_SignerIdentifier_get0_signer_id()
208 *sno = sid->d.issuerAndSerialNumber->serialNumber; in ossl_cms_SignerIdentifier_get0_signer_id()
209 } else if (sid->type == CMS_SIGNERINFO_KEYIDENTIFIER) { in ossl_cms_SignerIdentifier_get0_signer_id()
211 *keyid = sid->d.subjectKeyIdentifier; in ossl_cms_SignerIdentifier_get0_signer_id()
218 int ossl_cms_SignerIdentifier_cert_cmp(CMS_SignerIdentifier *sid, X509 *cert) in ossl_cms_SignerIdentifier_cert_cmp() argument
220 if (sid->type == CMS_SIGNERINFO_ISSUER_SERIAL) in ossl_cms_SignerIdentifier_cert_cmp()
221 return ossl_cms_ias_cert_cmp(sid->d.issuerAndSerialNumber, cert); in ossl_cms_SignerIdentifier_cert_cmp()
222 else if (sid->type == CMS_SIGNERINFO_KEYIDENTIFIER) in ossl_cms_SignerIdentifier_cert_cmp()
223 return ossl_cms_keyid_cert_cmp(sid->d.subjectKeyIdentifier, cert); in ossl_cms_SignerIdentifier_cert_cmp()
383 if (!ossl_cms_set1_SignerIdentifier(si->sid, signer, type, ctx)) in CMS_add1_signer()
639 return ossl_cms_SignerIdentifier_get0_signer_id(si->sid, keyid, issuer, sno); in CMS_SignerInfo_get0_signer_id()
644 return ossl_cms_SignerIdentifier_cert_cmp(si->sid, cert); in CMS_SignerInfo_cert_cmp()