<div dir="ltr"><span style="font-size:12.8px">Hi All,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I need to use TLS on the top of our collection of low-level transport classes. It looks like the standard choice is to create a BIO Pair and to manage data transfer between transport layer and the TLS through it. This looks fine but actual implementation of a socket's BIO in openssl\crypto\bio\bss_sock.c looks much cleaner then the code which is using BIO Pairs and I think I can create a custom BIO which is talking to our layer, instead of socket, based on this as an example.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is it considered a normal practice to create a custom BIO? The actual structure for BIO is hidden in openssl\include\internal\bio.h and it doesn't look like it is really encouraged to use it.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px">Ian</div></div>