OpenSSL BIO Series 19 --- Filter Type Null Bio

zhaozj2021-02-16  63

Fileter type NULL BIO

--- Based on OpenSSL DOC / CRYPTO / BIO_F_NULL.POD translation and its own understanding

(Author: DragonKing, Mail: wzhah@263.net, Posted: httpgdwzh.126.com the openssl professional forum)

We have already introduced Source / Sink type Bio, and later BIO series will begin to introduce the filter type BIO. The first introduced is a very simple BIO type - Null Filter Bio, which is defined as follows (OpenSSL / BIO.H):

BIO_METHOD * BIO_F_NULL (VOID);

In this type, only this function is defined, the function returns a NULL type filter Bio_Method structure, NULL filter type BIO is a Bio that does not make anything. Any call to this type of BIO will be simply transmitted in the next BIO in the BIO chain, which is equivalent to the BIO does not exist. Therefore, in general, this type of BIO is not large.

转载请注明原文地址:https://www.9cbs.com/read-24006.html

New Post(0)