zip_encryption_method_supported(3)

zip_encryption_method_supported3

Return if an encryption method is supported

Usage

#include <zip.h>

int

zip_encryption_method_supported(zip_int16_t method, int encrypt);

Library

libzip (-lzip)

Overview

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

Return values

Returns 1 if the method is supported, 0 otherwise.

Releases

4 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11–12
  2. 13–Arch

History

zip_encryption_method_supported() was added in libzip 1.7.0.

Authors

Dieter Baron ⟨[email protected]⟩ and Thomas Klausner ⟨[email protected]⟩

From libzip 1.11.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.