Home
last modified time | relevance | path

Searched refs:serialNumber (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_lib.c45 const ASN1_INTEGER *serialNumber) in OCSP_cert_id_new() argument
80 if (serialNumber) { in OCSP_cert_id_new()
81 if (ASN1_STRING_copy(&cid->serialNumber, serialNumber) == 0) in OCSP_cert_id_new()
110 return ASN1_INTEGER_cmp(&a->serialNumber, &b->serialNumber); in OCSP_id_cmp()
H A Docsp_local.h22 ASN1_INTEGER serialNumber; member
H A Docsp_asn.c27 ASN1_EMBED(OCSP_CERTID, serialNumber, ASN1_INTEGER)
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_cmp.c30 i = ASN1_INTEGER_cmp(&ai->serialNumber, &bi->serialNumber); in X509_issuer_and_serial_cmp()
59 (ctx, (unsigned char *)a->cert_info.serialNumber.data, in X509_issuer_and_serial_hash()
60 (unsigned long)a->cert_info.serialNumber.length)) in X509_issuer_and_serial_hash()
127 return &a->cert_info.serialNumber; in X509_get_serialNumber()
132 return &a->cert_info.serialNumber; in X509_get0_serialNumber()
357 x.cert_info.serialNumber = *serial; in X509_find_by_issuer_and_serial()
H A Dx_crl.c23 ASN1_EMBED(X509_REVOKED,serialNumber, ASN1_INTEGER),
343 return (ASN1_STRING_cmp((ASN1_STRING *)&(*a)->serialNumber,
344 (ASN1_STRING *)&(*b)->serialNumber));
452 rtmp.serialNumber = *serial; in def_crl_lookup()
459 if (ASN1_INTEGER_cmp(&rev->serialNumber, serial)) in def_crl_lookup()
H A Dx509cset.c159 return &x->serialNumber; in X509_REVOKED_get0_serialNumber()
168 in = &x->serialNumber; in X509_REVOKED_set_serialNumber()
H A Dx509_set.c44 in = &x->cert_info.serialNumber; in X509_set_serialNumber()
/freebsd/crypto/heimdal/lib/hx509/
H A Dca.c395 const heim_integer *serialNumber) in hx509_ca_tbs_set_serialnumber() argument
399 ret = der_copy_heim_integer(serialNumber, &tbs->serial); in hx509_ca_tbs_set_serialnumber()
1083 ret = der_copy_heim_integer(&tbs->serial, &tbsc->serialNumber); in ca_sign()
1089 tbsc->serialNumber.length = 20; in ca_sign()
1090 tbsc->serialNumber.data = malloc(tbsc->serialNumber.length); in ca_sign()
1091 if (tbsc->serialNumber.data == NULL){ in ca_sign()
1097 RAND_bytes(tbsc->serialNumber.data, tbsc->serialNumber.length); in ca_sign()
1098 ((unsigned char *)tbsc->serialNumber.data)[0] &= 0x7f; in ca_sign()
1498 ret = der_copy_heim_integer(&certificate->tbsCertificate.serialNumber, in get_AuthorityKeyIdentifier()
H A Drevoke.c717 ret = der_heim_integer_cmp(&ocsp->ocsp.tbsResponseData.responses.val[j].certID.serialNumber, in hx509_revoke_verify()
718 &c->tbsCertificate.serialNumber); in hx509_revoke_verify()
824 &c->tbsCertificate.serialNumber); in hx509_revoke_verify()
933 ret = copy_CertificateSerialNumber(&c->tbsCertificate.serialNumber, in add_to_req()
934 &one->reqCert.serialNumber); in add_to_req()
1213 ret = der_heim_integer_cmp(&basic.tbsResponseData.responses.val[i].certID.serialNumber, in hx509_ocsp_verify()
1214 &c->tbsCertificate.serialNumber); in hx509_ocsp_verify()
H A Dcrmf.asn174 serialNumber [1] INTEGER OPTIONAL,
H A Dcert.c965 &issuer->tbsCertificate.serialNumber); in _hx509_cert_is_parent_cmp()
1429 return der_copy_heim_integer(&p->data->tbsCertificate.serialNumber, i); in hx509_cert_get_serialnumber()
2762 const heim_integer *serialNumber) in hx509_query_match_issuer_serial() argument
2772 ret = der_copy_heim_integer(serialNumber, q->serial); in hx509_query_match_issuer_serial()
2961 && der_heim_integer_cmp(&c->tbsCertificate.serialNumber, q->serial) != 0) in _hx509_query_match_cert()
3590 heim_integer serialNumber; in hx509_print_cert() local
3592 ret = hx509_cert_get_serialnumber(cert, &serialNumber); in hx509_print_cert()
3595 ret = der_print_hex_heim_integer(&serialNumber, &str); in hx509_print_cert()
3598 der_free_heim_integer(&serialNumber); in hx509_print_cert()
H A Docsp.asn126 serialNumber CertificateSerialNumber }
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_lib.c194 ASN1_INTEGER_free(cid->serialNumber); in IMPLEMENT_CRMF_CTRL_FUNC()
195 if ((cid->serialNumber = ASN1_INTEGER_dup(serial)) == NULL) in IMPLEMENT_CRMF_CTRL_FUNC()
537 return tmpl != NULL ? tmpl->serialNumber : NULL; in OSSL_CRMF_CERTTEMPLATE_get0_serialNumber()
569 return cid != NULL ? cid->serialNumber : NULL; in OSSL_CRMF_CERTID_get0_serialNumber()
591 ASN1_INTEGER_free(tmpl->serialNumber); in OSSL_CRMF_CERTTEMPLATE_fill()
592 if ((tmpl->serialNumber = ASN1_INTEGER_dup(serial)) == NULL) in OSSL_CRMF_CERTTEMPLATE_fill()
H A Dcrmf_local.h109 ASN1_INTEGER *serialNumber; member
308 ASN1_INTEGER *serialNumber; /* serialNumber MUST be omitted */ member
H A Dcrmf_asn.c47 ASN1_SIMPLE(OSSL_CRMF_CERTID, serialNumber, ASN1_INTEGER)
191 ASN1_IMP_OPT(OSSL_CRMF_CERTTEMPLATE, serialNumber, ASN1_INTEGER, 1),
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CRMF_MSG_get0_tmpl.pod46 OSSL_CRMF_CERTTEMPLATE_get0_serialNumber() retrieves the serialNumber of the
58 OSSL_CRMF_CERTID_get0_serialNumber retrieves the serialNumber
H A DOCSP_cert_to_id.pod18 ASN1_INTEGER *serialNumber);
38 B<serialNumber>.
/freebsd/contrib/wpa/src/crypto/
H A Dtls_openssl_ocsp.c50 ASN1_INTEGER *serialNumber; member
173 ASN1_SIMPLE(CertID, serialNumber, ASN1_INTEGER)
730 txt = integer_str(sresp->certID->serialNumber); in check_ocsp_resp()
786 ASN1_INTEGER_cmp(sresp->certID->serialNumber, in check_ocsp_resp()
/freebsd/secure/caroot/untrusted/
H A DGlobal_Chambersign_Root_-_2008.pem18 …= EU, L = Madrid (see current address at www.camerfirma.com/address), serialNumber = A82743287, O …
22 …= EU, L = Madrid (see current address at www.camerfirma.com/address), serialNumber = A82743287, O …
70 …e:/C=EU/L=Madrid (see current address at www.camerfirma.com\/address)/serialNumber=A82743287/O=AC …
H A DChambers_of_Commerce_Root_-_2008.pem18 …= EU, L = Madrid (see current address at www.camerfirma.com/address), serialNumber = A82743287, O …
22 …= EU, L = Madrid (see current address at www.camerfirma.com/address), serialNumber = A82743287, O …
70 …e:/C=EU/L=Madrid (see current address at www.camerfirma.com\/address)/serialNumber=A82743287/O=AC …
/freebsd/crypto/openssl/include/crypto/
H A Dx509.h131 ASN1_INTEGER serialNumber; /* revoked entry serial number */ member
162 ASN1_INTEGER serialNumber; member
/freebsd/secure/caroot/trusted/
H A DANF_Secure_Server_Root_CA.pem19 …Issuer: serialNumber = G63287510, C = ES, O = ANF Autoridad de Certificacion, OU = ANF CA Raiz, CN…
23 …Subject: serialNumber = G63287510, C = ES, O = ANF Autoridad de Certificacion, OU = ANF CA Raiz, C…
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_kari.c83 *sno = oik->d.issuerAndSerialNumber->serialNumber; in CMS_RecipientInfo_kari_get0_orig_id()
125 *sno = rid->d.issuerAndSerialNumber->serialNumber; in CMS_RecipientEncryptedKey_get0_id()
/freebsd/crypto/heimdal/lib/asn1/
H A Dcms.asn153 serialNumber CertificateSerialNumber
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/
H A Dtdsmcmnapi.c170 (osti_memcmp (tmpOneDeviceData->satDevData.satIdentifyData.serialNumber, in smHandleDirect()
171 pSATAIdData->serialNumber, in smHandleDirect()
413 osti_memcpy(onePortContext->remoteName, pSATAIdData->serialNumber, 20); in tdsmIDCompletedCB()

123