Lines Matching refs:bio_out

1650 	BIO * bio_out;  in PHP_FUNCTION()  local
1669 bio_out = BIO_new_file(filename, "w"); in PHP_FUNCTION()
1670 if (bio_out) { in PHP_FUNCTION()
1672 X509_print(bio_out, cert); in PHP_FUNCTION()
1674 PEM_write_bio_X509(bio_out, cert); in PHP_FUNCTION()
1683 BIO_free(bio_out); in PHP_FUNCTION()
1971 BIO * bio_out; in PHP_FUNCTION() local
1984 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
1986 X509_print(bio_out, cert); in PHP_FUNCTION()
1988 if (PEM_write_bio_X509(bio_out, cert)) { in PHP_FUNCTION()
1992 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
2001 BIO_free(bio_out); in PHP_FUNCTION()
2178 BIO *bio_out; in PHP_FUNCTION() local
2292 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
2294 if (openssl_x509v3_subjectAltName(bio_out, extension) == 0) { in PHP_FUNCTION()
2295 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
2299 BIO_free(bio_out); in PHP_FUNCTION()
2306 else if (X509V3_EXT_print(bio_out, extension, 0, 0)) { in PHP_FUNCTION()
2307 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
2312 BIO_free(bio_out); in PHP_FUNCTION()
2619 BIO * bio_out = NULL; in PHP_FUNCTION() local
2672 bio_out = BIO_new_file(filename, "w"); in PHP_FUNCTION()
2673 if (bio_out) { in PHP_FUNCTION()
2675 i2d_PKCS12_bio(bio_out, p12); in PHP_FUNCTION()
2682 BIO_free(bio_out); in PHP_FUNCTION()
2703 BIO * bio_out; in PHP_FUNCTION() local
2744 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
2745 if (i2d_PKCS12_bio(bio_out, p12)) { in PHP_FUNCTION()
2749 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
2755 BIO_free(bio_out); in PHP_FUNCTION()
2798 BIO * bio_out; in PHP_FUNCTION() local
2805 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
2806 if (PEM_write_bio_X509(bio_out, cert)) { in PHP_FUNCTION()
2808 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
2812 BIO_free(bio_out); in PHP_FUNCTION()
2816 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
2817 if (PEM_write_bio_PrivateKey(bio_out, pkey, NULL, NULL, 0, 0, NULL)) { in PHP_FUNCTION()
2819 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
2823 BIO_free(bio_out); in PHP_FUNCTION()
2844 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
2845 if (PEM_write_bio_X509(bio_out, aCA)) { in PHP_FUNCTION()
2847 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
2852 BIO_free(bio_out); in PHP_FUNCTION()
3089 BIO * bio_out; in PHP_FUNCTION() local
3107 bio_out = BIO_new_file(filename, "w"); in PHP_FUNCTION()
3108 if (bio_out) { in PHP_FUNCTION()
3110 X509_REQ_print(bio_out, csr); in PHP_FUNCTION()
3112 PEM_write_bio_X509_REQ(bio_out, csr); in PHP_FUNCTION()
3121 BIO_free(bio_out); in PHP_FUNCTION()
3132 BIO * bio_out; in PHP_FUNCTION() local
3149 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
3151 X509_REQ_print(bio_out, csr); in PHP_FUNCTION()
3154 if (PEM_write_bio_X509_REQ(bio_out, csr)) { in PHP_FUNCTION()
3157 BIO_get_mem_ptr(bio_out, &bio_buf); in PHP_FUNCTION()
3167 BIO_free(bio_out); in PHP_FUNCTION()
4107 BIO * bio_out = NULL; in PHP_FUNCTION() local
4130 bio_out = BIO_new_file(filename, "w"); in PHP_FUNCTION()
4145 …pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get1_EC_KEY(key), cipher, (unsigned char … in PHP_FUNCTION()
4149 …pem_write = PEM_write_bio_PrivateKey(bio_out, key, cipher, (unsigned char *)passphrase, (int)passp… in PHP_FUNCTION()
4164 if (bio_out) { in PHP_FUNCTION()
4165 BIO_free(bio_out); in PHP_FUNCTION()
4180 BIO * bio_out = NULL; in PHP_FUNCTION() local
4199 bio_out = BIO_new(BIO_s_mem()); in PHP_FUNCTION()
4214 …pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get1_EC_KEY(key), cipher, (unsigned char … in PHP_FUNCTION()
4218 …pem_write = PEM_write_bio_PrivateKey(bio_out, key, cipher, (unsigned char *)passphrase, (int)passp… in PHP_FUNCTION()
4230 bio_mem_len = BIO_get_mem_data(bio_out, &bio_mem_ptr); in PHP_FUNCTION()
4240 if (bio_out) { in PHP_FUNCTION()
4241 BIO_free(bio_out); in PHP_FUNCTION()