Lines Matching defs:x509
20 #include <openssl/x509.h>
30 X509 *x509 = NULL;
43 x509 = d2i_X509(NULL, &d, (int) der_size);
44 if (x509 == NULL) {
56 ret = PEM_write_bio_X509(bio_mem, x509);
86 X509_free(x509);
95 X509 *x509 = NULL;
121 x509 = PEM_read_bio_X509(bio_mem, NULL, NULL, NULL);
122 if (x509 == NULL) {
128 buf_size = i2d_X509(x509, NULL);
145 der_size = i2d_X509(x509, &buf);
164 X509_free(x509);