View Javadoc
1   /*
2    * Copyright (C) 2005-2015 Schlichtherle IT Services.
3    * All rights reserved. Use is subject to license terms.
4    */
5   package net.java.truevfs.comp.zip;
6   
7   import javax.annotation.concurrent.NotThreadSafe;
8   
9   /**
10   * A marker interface for ZIP crypto parameters.
11   * Crypto parameters are required for writing and reading entries which
12   * are encrypted or authenticated.
13   * ZIP files feature different encryption and authentication types.
14   * Each type determines the algorithms and parameter types used
15   * to encrypt or authenticate the entry contents or meta data in the ZIP file.
16   * For each supported type a separate parameter interface exists which extends
17   * this marker interface.
18   * For example, the interface {@link WinZipAesParameters} supports WinZip's
19   * <a href="http://www.winzip.com/win/en/aes_info.htm">AES Encryption Information: Encryption Specification AE-1 and AE-2</a>
20   * scheme.
21   * 
22   * @author  Christian Schlichtherle
23   */
24  @NotThreadSafe
25  @SuppressWarnings("MarkerInterface")
26  public interface ZipCryptoParameters extends ZipParameters {
27  }