1ZIP_ENCRYPTION_METHOD... BSD Library Functions Manual ZIP_ENCRYPTION_METHOD...
2

NAME

4     zip_encryption_method_supported — return if an encryption method is sup‐
5     ported
6

LIBRARY

8     libzip (-lzip)
9

SYNOPSIS

11     #include <zip.h>
12
13     int
14     zip_encryption_method_supported(zip_int16_t method, int encrypt);
15

DESCRIPTION

17     The zip_encryption_method_supported() returns if the encryption method
18     method is supported for encryption (if encrypt is zero) or decryption
19     (otherwise).
20

RETURN VALUES

22     Returns 1 if the method is supported, 0 otherwise.
23

SEE ALSO

25     libzip(3), zip_compression_method_supported(3),
26     zip_file_set_encryption(3)
27

HISTORY

29     zip_encryption_method_supported() was added in libzip 1.7.0.
30

AUTHORS

32     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
33
34BSD                              April 2, 2020                             BSD
Impressum