|
Greenbone Vulnerability Management Libraries 22.32.0
|
Data stream validator structure. More...

Data Fields | |
| gchar * | expected_hash_str |
| Expected hash algorithm and hex string. | |
| gchar * | expected_hash_hex |
| Expected hash value as hexadecimal string. | |
| int | algorithm |
| The hash algorithm used. | |
| size_t | expected_size |
| Expected amount of data to validate. | |
| size_t | current_size |
| Current total amount of data received. | |
| gboolean | size_enforced |
| TRUE enforce size checks; FALSE hash-only. | |
| gcry_md_hd_t | gcrypt_md_hd |
| gcrypt message digest handle. | |
Data stream validator structure.
Definition at line 24 of file streamvalidator.c.
| int gvm_stream_validator::algorithm |
The hash algorithm used.
Definition at line 28 of file streamvalidator.c.
Referenced by gvm_stream_validator_end().
| size_t gvm_stream_validator::current_size |
Current total amount of data received.
Definition at line 30 of file streamvalidator.c.
Referenced by gvm_stream_validator_end(), gvm_stream_validator_rewind(), and gvm_stream_validator_write().
| gchar* gvm_stream_validator::expected_hash_hex |
Expected hash value as hexadecimal string.
Definition at line 27 of file streamvalidator.c.
Referenced by gvm_stream_validator_end(), and gvm_stream_validator_free().
| gchar* gvm_stream_validator::expected_hash_str |
Expected hash algorithm and hex string.
Definition at line 26 of file streamvalidator.c.
Referenced by gvm_stream_validator_free().
| size_t gvm_stream_validator::expected_size |
Expected amount of data to validate.
Definition at line 29 of file streamvalidator.c.
Referenced by gvm_stream_validator_end(), and gvm_stream_validator_write().
| gcry_md_hd_t gvm_stream_validator::gcrypt_md_hd |
gcrypt message digest handle.
Definition at line 32 of file streamvalidator.c.
Referenced by gvm_stream_validator_end(), gvm_stream_validator_free(), gvm_stream_validator_rewind(), and gvm_stream_validator_write().
| gboolean gvm_stream_validator::size_enforced |
TRUE enforce size checks; FALSE hash-only.
Definition at line 31 of file streamvalidator.c.
Referenced by gvm_stream_validator_end(), and gvm_stream_validator_write().