• Home
  • Raw
  • Download

Lines Matching refs:bio

119         bio = _lib.BIO_new(_lib.BIO_s_mem())
123 bio = _lib.BIO_new_mem_buf(data, len(buffer))
126 def free(bio, ref=data): argument
127 return _lib.BIO_free(bio)
129 _openssl_assert(bio != _ffi.NULL)
131 bio = _ffi.gc(bio, free)
132 return bio
135 def _bio_to_string(bio): argument
140 buffer_length = _lib.BIO_get_mem_data(bio, result_buffer)
806 bio = _new_mem_buf()
807 _lib.GENERAL_NAME_print(bio, name)
808 parts.append(_native(_bio_to_string(bio)))
822 bio = _new_mem_buf()
823 print_result = _lib.X509V3_EXT_print(bio, self._extension, 0, 0)
826 return _native(_bio_to_string(bio))
1826 bio = _new_mem_buf(buffer)
1829 x509 = _lib.PEM_read_bio_X509(bio, _ffi.NULL, _ffi.NULL, _ffi.NULL)
1831 x509 = _lib.d2i_X509_bio(bio, _ffi.NULL)
1852 bio = _new_mem_buf()
1855 result_code = _lib.PEM_write_bio_X509(bio, cert._x509)
1857 result_code = _lib.i2d_X509_bio(bio, cert._x509)
1859 result_code = _lib.X509_print_ex(bio, cert._x509, 0, 0)
1866 return _bio_to_string(bio)
1879 bio = _new_mem_buf()
1887 result_code = write_bio(bio, pkey._pkey)
1891 return _bio_to_string(bio)
1910 bio = _new_mem_buf()
1929 bio, pkey._pkey, cipher_obj, _ffi.NULL, 0,
1933 result_code = _lib.i2d_PrivateKey_bio(bio, pkey._pkey)
1942 result_code = _lib.RSA_print(bio, rsa, 0)
1950 return _bio_to_string(bio)
2009 bio = _new_mem_buf()
2013 result = _lib.i2a_ASN1_INTEGER(bio, asn1_int)
2015 return _bio_to_string(bio)
2078 bio = _new_mem_buf()
2080 print_result = _lib.X509V3_EXT_print(bio, ext, 0, 0)
2083 bio, _lib.X509_EXTENSION_get_data(ext)
2087 return _bio_to_string(bio)
2316 bio = _lib.BIO_new(_lib.BIO_s_mem())
2317 _openssl_assert(bio != _ffi.NULL)
2568 bio = _new_mem_buf()
2569 _lib.i2d_PKCS12_bio(bio, pkcs12)
2570 return _bio_to_string(bio)
2762 bio = _new_mem_buf(buffer)
2766 bio, _ffi.NULL, _ffi.NULL, _ffi.NULL)
2768 evp_pkey = _lib.d2i_PUBKEY_bio(bio, _ffi.NULL)
2797 bio = _new_mem_buf(buffer)
2802 bio, _ffi.NULL, helper.callback, helper.callback_args)
2805 evp_pkey = _lib.d2i_PrivateKey_bio(bio, _ffi.NULL)
2826 bio = _new_mem_buf()
2829 result_code = _lib.PEM_write_bio_X509_REQ(bio, req._req)
2831 result_code = _lib.i2d_X509_REQ_bio(bio, req._req)
2833 result_code = _lib.X509_REQ_print_ex(bio, req._req, 0, 0)
2842 return _bio_to_string(bio)
2857 bio = _new_mem_buf(buffer)
2860 req = _lib.PEM_read_bio_X509_REQ(bio, _ffi.NULL, _ffi.NULL, _ffi.NULL)
2862 req = _lib.d2i_X509_REQ_bio(bio, _ffi.NULL)
2954 bio = _new_mem_buf()
2957 ret = _lib.PEM_write_bio_X509_CRL(bio, crl._crl)
2959 ret = _lib.i2d_X509_CRL_bio(bio, crl._crl)
2961 ret = _lib.X509_CRL_print(bio, crl._crl)
2968 return _bio_to_string(bio)
2984 bio = _new_mem_buf(buffer)
2987 crl = _lib.PEM_read_bio_X509_CRL(bio, _ffi.NULL, _ffi.NULL, _ffi.NULL)
2989 crl = _lib.d2i_X509_CRL_bio(bio, _ffi.NULL)
3013 bio = _new_mem_buf(buffer)
3016 pkcs7 = _lib.PEM_read_bio_PKCS7(bio, _ffi.NULL, _ffi.NULL, _ffi.NULL)
3018 pkcs7 = _lib.d2i_PKCS7_bio(bio, _ffi.NULL)
3047 bio = _new_mem_buf(buffer)
3056 p12 = _lib.d2i_PKCS12_bio(bio, _ffi.NULL)