# X0019_EncryptionRecipientCertificateList (Apache Commons Compress 1.13 API)

org.apache.commons.compress.archivers.zip

## Class X0019_EncryptionRecipientCertificateList

- java.lang.Object
- - org.apache.commons.compress.archivers.zip.PKWareExtraHeader
  - - org.apache.commons.compress.archivers.zip.X0019_EncryptionRecipientCertificateList

- All Implemented Interfaces:
    ZipExtraField

      public class X0019_EncryptionRecipientCertificateList
      extends PKWareExtraHeader

  PKCS#7 Encryption Recipient Certificate List (0x0019).

  This field MAY contain information about each of the certificates used in encryption processing and it can be used to identify who is allowed to decrypt encrypted files. This field should only appear in the archive extra data record. This field is not required and serves only to aid archive modifications by preserving public encryption key data. Individual security requirements may dictate that this data be omitted to deter information exposure.

  Note: all fields stored in Intel low-byte/high-byte order.

                Value     Size     Description
                -----     ----     -----------
       (CStore) 0x0019    2 bytes  Tag for this "extra" block type
                TSize     2 bytes  Size of the store data
                Version   2 bytes  Format version number - must 0x0001 at this time
                CStore    (var)    PKCS#7 data blob

  See the section describing the Strong Encryption Specification for details. Refer to the section in this document entitled "Incorporating PKWARE Proprietary Technology into Your Product" for more information.

  Since:
    1.11
  This class is not thread-safe

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.commons.compress.archivers.zip.PKWareExtraHeader

      `PKWareExtraHeader.EncryptionAlgorithm, PKWareExtraHeader.HashAlgorithm`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `X0019_EncryptionRecipientCertificateList()`

  - ### Method Summary

    - ### Methods inherited from class org.apache.commons.compress.archivers.zip.PKWareExtraHeader

      `getCentralDirectoryData, getCentralDirectoryLength, getHeaderId, getLocalFileDataData, getLocalFileDataLength, parseFromCentralDirectoryData, parseFromLocalFileData, setCentralDirectoryData, setLocalFileDataData`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### X0019_EncryptionRecipientCertificateList

          public X0019_EncryptionRecipientCertificateList()

Copyright © 2016 The Apache Software Foundation. All rights reserved.