Home
last modified time | relevance | path

Searched refs:cert_info (Results 1 – 20 of 20) sorted by relevance

/freebsd/crypto/openssl/crypto/x509/
H A Dx509_set.c27 ASN1_INTEGER_free(x->cert_info.version); in X509_set_version()
28 x->cert_info.version = NULL; in X509_set_version()
31 if (x->cert_info.version == NULL) { in X509_set_version()
32 if ((x->cert_info.version = ASN1_INTEGER_new()) == NULL) in X509_set_version()
35 return ASN1_INTEGER_set(x->cert_info.version, version); in X509_set_version()
44 in = &x->cert_info.serialNumber; in X509_set_serialNumber()
54 return X509_NAME_set(&x->cert_info.issuer, name); in X509_set_issuer_name()
61 return X509_NAME_set(&x->cert_info.subject, name); in X509_set_subject_name()
82 return ossl_x509_set1_time(&x->cert_info.validity.notBefore, tm); in X509_set1_notBefore()
89 return ossl_x509_set1_time(&x->cert_info.validity.notAfter, tm); in X509_set1_notAfter()
[all …]
H A Dx509_cmp.c28 ai = &a->cert_info; in X509_issuer_and_serial_cmp()
29 bi = &b->cert_info; in X509_issuer_and_serial_cmp()
47 f = X509_NAME_oneline(a->cert_info.issuer, NULL, 0); in X509_issuer_and_serial_hash()
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()
77 return X509_NAME_cmp(a->cert_info.issuer, b->cert_info.issuer); in X509_issuer_name_cmp()
82 return X509_NAME_cmp(a->cert_info.subject, b->cert_info.subject); in X509_subject_name_cmp()
105 return a->cert_info.issuer; in X509_get_issuer_name()
110 return X509_NAME_hash_ex(x->cert_info.issuer, NULL, NULL, NULL); in X509_issuer_name_hash()
116 return X509_NAME_hash_old(x->cert_info.issuer); in X509_issuer_name_hash_old()
[all …]
H A Dx509_ext.c68 return X509v3_get_ext_count(x->cert_info.extensions); in X509_get_ext_count()
73 return X509v3_get_ext_by_NID(x->cert_info.extensions, nid, lastpos); in X509_get_ext_by_NID()
78 return X509v3_get_ext_by_OBJ(x->cert_info.extensions, obj, lastpos); in X509_get_ext_by_OBJ()
84 (x->cert_info.extensions, crit, lastpos)); in X509_get_ext_by_critical()
89 return X509v3_get_ext(x->cert_info.extensions, loc); in X509_get_ext()
94 return X509v3_delete_ext(x->cert_info.extensions, loc); in X509_delete_ext()
99 return (X509v3_add_ext(&(x->cert_info.extensions), ex, loc) != NULL); in X509_add_ext()
104 return X509V3_get_d2i(x->cert_info.extensions, nid, crit, idx); in X509_get_ext_d2i()
110 return X509V3_add1_i2d(&x->cert_info.extensions, nid, value, crit, in X509_add1_ext_i2d()
H A Dx_all.c33 if (X509_ALGOR_cmp(&a->sig_alg, &a->cert_info.signature) != 0) in X509_verify()
37 &a->signature, &a->cert_info, in X509_verify()
74 x->cert_info.enc.modified = 1; in X509_sign()
75 return ASN1_item_sign_ex(ASN1_ITEM_rptr(X509_CINF), &x->cert_info.signature, in X509_sign()
76 &x->sig_alg, &x->signature, &x->cert_info, NULL, in X509_sign()
86 x->cert_info.enc.modified = 1; in X509_sign_ctx()
88 &x->cert_info.signature, in X509_sign_ctx()
89 &x->sig_alg, &x->signature, &x->cert_info, ctx); in X509_sign_ctx()
H A Dx_x509.c133 ASN1_EMBED(X509, cert_info, X509_CINF),
291 x->cert_info.enc.modified = 1; in i2d_re_X509_tbs()
292 return i2d_X509_CINF(&x->cert_info, pp); in i2d_re_X509_tbs()
H A Dx509_r2x.c33 xi = &ret->cert_info; in X509_REQ_to_X509()
H A Dv3_skid.c109 ctx->subject_cert->cert_info.key : in s2i_skey_id()
H A Dby_dir.c247 data.st_x509.cert_info.subject = (X509_NAME *)name; /* won't modify it */ in get_cert_by_subject_ex()
H A Dv3_conf.c346 sk = &cert->cert_info.extensions; in X509V3_EXT_add_nconf()
H A Dv3_purp.c373 if (OBJ_find_sigid_algs(OBJ_obj2nid(subject->cert_info.signature.algorithm), in check_sig_alg_match()
H A Dx509_lu.c514 x509_s.cert_info.subject = (X509_NAME *)name; /* won't modify it */ in x509_object_idx_cnt()
H A Dx_pubkey.c1040 return x->cert_info.key->public_key; in X509_get0_pubkey_bitstr()
H A Dx509_vfy.c558 CB_FAIL_IF(X509_ALGOR_cmp(&x->sig_alg, &x->cert_info.signature) != 0, in check_extensions()
/freebsd/contrib/ntp/include/
H A Dntp_crypto.h156 struct cert_info {
157 struct cert_info *link; /* forward link */
188 extern struct cert_info *cinfo; /* host certificate information */
H A Dntp.h320 struct cert_info *xinfo; /* issuer certificate */
/freebsd/contrib/ntp/ntpd/
H A Dntp_crypto.c162 struct cert_info *cinfo = NULL; /* certificate info/value cache */
163 struct cert_info *cert_host = NULL; /* host certificate */
201 static struct cert_info *cert_parse (const u_char *, long, tstamp_t);
203 static struct cert_info *cert_install (struct exten *, struct peer *);
204 static int cert_hike (struct peer *, struct cert_info *);
205 static void cert_free (struct cert_info *);
208 static struct cert_info *crypto_cert (char *);
428 struct cert_info *xinfo; /* certificate info pointer */ in crypto_recv()
1093 struct cert_info *cp, *xp, *yp; /* cert info/value pointer */ in crypto_xmit()
1838 struct cert_info *c
[all...]
H A Dntp_control.c1913 struct cert_info *cp; in ctl_putsys()
/freebsd/contrib/ntp/sntp/
H A Dnetworking.h74 struct cert_info *xinfo; /* issuer certificate */
/freebsd/crypto/openssl/include/crypto/
H A Dx509.h175 X509_CINF cert_info; member
/freebsd/contrib/wpa/src/crypto/
H A Dtls_openssl.c635 pub_rsa = cert->cert_info->key->pkey->pkey.rsa; in tls_cryptoapi_cert()