Lines Matching refs:cert_info

29         ASN1_INTEGER_free(x->cert_info.version);  in X509_set_version()
30 x->cert_info.version = NULL; in X509_set_version()
31 x->cert_info.enc.modified = 1; in X509_set_version()
34 if (x->cert_info.version == NULL) { in X509_set_version()
35 if ((x->cert_info.version = ASN1_INTEGER_new()) == NULL) in X509_set_version()
38 if (!ASN1_INTEGER_set(x->cert_info.version, version)) in X509_set_version()
40 x->cert_info.enc.modified = 1; in X509_set_version()
50 in = &x->cert_info.serialNumber; in X509_set_serialNumber()
53 x->cert_info.enc.modified = 1; in X509_set_serialNumber()
59 if (x == NULL || !X509_NAME_set(&x->cert_info.issuer, name)) in X509_set_issuer_name()
61 x->cert_info.enc.modified = 1; in X509_set_issuer_name()
67 if (x == NULL || !X509_NAME_set(&x->cert_info.subject, name)) in X509_set_subject_name()
69 x->cert_info.enc.modified = 1; in X509_set_subject_name()
93 return ossl_x509_set1_time(&x->cert_info.enc.modified, in X509_set1_notBefore()
94 &x->cert_info.validity.notBefore, tm); in X509_set1_notBefore()
101 return ossl_x509_set1_time(&x->cert_info.enc.modified, in X509_set1_notAfter()
102 &x->cert_info.validity.notAfter, tm); in X509_set1_notAfter()
109 if (!X509_PUBKEY_set(&(x->cert_info.key), pkey)) in X509_set_pubkey()
111 x->cert_info.enc.modified = 1; in X509_set_pubkey()
129 return ASN1_INTEGER_get(x->cert_info.version); in X509_get_version()
134 return x->cert_info.validity.notBefore; in X509_get0_notBefore()
139 return x->cert_info.validity.notAfter; in X509_get0_notAfter()
144 return x->cert_info.validity.notBefore; in X509_getm_notBefore()
149 return x->cert_info.validity.notAfter; in X509_getm_notAfter()
159 return x->cert_info.key; in X509_get_X509_PUBKEY()
164 return x->cert_info.extensions; in STACK_OF()
171 *piuid = x->cert_info.issuerUID; in X509_get0_uids()
173 *psuid = x->cert_info.subjectUID; in X509_get0_uids()
178 return &x->cert_info.signature; in X509_get0_tbs_sigalg()
303 X509_PUBKEY_get0(x->cert_info.key)); in ossl_x509_init_sig_info()