Home
last modified time | relevance | path

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

12

/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)
H A Docsp_prn.c28 i2a_ASN1_INTEGER(bp, &a->serialNumber); in ocsp_certid_print()
H A Docsp_srv.c51 *pserial = &cid->serialNumber; in OCSP_id_get0_info()
/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),
345 return (ASN1_STRING_cmp((ASN1_STRING *)&(*a)->serialNumber,
346 (ASN1_STRING *)&(*b)->serialNumber));
454 rtmp.serialNumber = *serial; in def_crl_lookup()
461 if (ASN1_INTEGER_cmp(&rev->serialNumber, serial)) in def_crl_lookup()
H A Dx509cset.c156 return &x->serialNumber; in X509_REVOKED_get0_serialNumber()
165 in = &x->serialNumber; in X509_REVOKED_set_serialNumber()
H A Dx509_acert.c57 ASN1_EMBED(X509_ACERT_INFO, serialNumber, ASN1_INTEGER),
177 return &x->acinfo->serialNumber; in X509_ACERT_get0_serialNumber()
H A Dx509aset.c166 return ASN1_STRING_copy(&x->acinfo->serialNumber, serial); in X509_ACERT_set1_serialNumber()
H A Dx_x509.c20 ASN1_EMBED(X509_CINF, serialNumber, ASN1_INTEGER),
H A Dx509_set.c50 in = &x->cert_info.serialNumber; in X509_set_serialNumber()
/openssl/crypto/crmf/
H A Dcrmf_local.h110 ASN1_INTEGER *serialNumber; member
309 ASN1_INTEGER *serialNumber; /* serialNumber MUST be omitted */ member
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()
554 return tmpl != NULL ? tmpl->serialNumber : NULL; in OSSL_CRMF_CERTTEMPLATE_get0_serialNumber()
584 return cid != NULL ? cid->serialNumber : NULL; in OSSL_CRMF_CERTID_get0_serialNumber()
606 ASN1_INTEGER_free(tmpl->serialNumber); in OSSL_CRMF_CERTTEMPLATE_fill()
607 if ((tmpl->serialNumber = ASN1_INTEGER_dup(serial)) == NULL) in OSSL_CRMF_CERTTEMPLATE_fill()
H A Dcrmf_asn.c46 ASN1_SIMPLE(OSSL_CRMF_CERTID, serialNumber, ASN1_INTEGER)
184 ASN1_IMP_OPT(OSSL_CRMF_CERTTEMPLATE, serialNumber, ASN1_INTEGER, 1),
/openssl/doc/man3/
H A DOCSP_cert_to_id.pod18 ASN1_INTEGER *serialNumber);
38 B<serialNumber>.
H A DOSSL_CRMF_MSG_get0_tmpl.pod57 OSSL_CRMF_CERTTEMPLATE_get0_serialNumber() retrieves the serialNumber of the
63 OSSL_CRMF_CERTID_get0_serialNumber retrieves the serialNumber
/openssl/include/crypto/
H A Dx509_acert.h58 ASN1_INTEGER serialNumber; member
H A Dx509.h131 ASN1_INTEGER serialNumber; /* revoked entry serial number */ member
162 ASN1_INTEGER serialNumber; member
/openssl/crypto/cmp/
H A Dcmp_msg.c523 const ASN1_INTEGER *serialNumber = NULL; in ossl_cmp_rr_new() local
530 || (ctx->serialNumber != NULL && ctx->issuer != NULL)))) in ossl_cmp_rr_new()
536 if (ctx->serialNumber != NULL && ctx->issuer != NULL) { in ossl_cmp_rr_new()
538 serialNumber = ctx->serialNumber; in ossl_cmp_rr_new()
541 serialNumber = X509_get0_serialNumber(ctx->oldCert); in ossl_cmp_rr_new()
551 issuer, serialNumber); in ossl_cmp_rr_new()
H A Dcmp_ctx.c236 ASN1_INTEGER_free(ctx->serialNumber); in OSSL_CMP_CTX_free()
625 DEFINE_OSSL_CMP_CTX_set1(serialNumber, ASN1_INTEGER)
/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()
H A Dcms_lib.c684 return ASN1_INTEGER_cmp(ias->serialNumber, X509_get0_serialNumber(cert)); in ossl_cms_ias_cert_cmp()
708 if (!ASN1_STRING_copy(ias->serialNumber, X509_get0_serialNumber(cert))) { in ossl_cms_set1_ias()
H A Dcms_local.h336 ASN1_INTEGER *serialNumber; member
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_verification.csv16 …ected sender, -section,, -recipient,_CA_DN, -expect_sender,_SERVER_DN/serialNumber=123,BLANK,, -tr…

Completed in 78 milliseconds

12