Class CryptoAPIEncryptionHeader

All Implemented Interfaces:
org.apache.poi.common.Duplicatable, GenericRecord, EncryptionRecord

public class CryptoAPIEncryptionHeader extends StandardEncryptionHeader
  • Constructor Details

  • Method Details

    • setKeySize

      public void setKeySize(int keyBits)
      Description copied from class: EncryptionHeader
      Sets the keySize (in bits). Before calling this method, make sure to set the cipherAlgorithm, as the amount of keyBits gets validated against the list of allowed keyBits of the corresponding cipherAlgorithm
      Overrides:
      setKeySize in class EncryptionHeader
    • copy

      Specified by:
      copy in interface org.apache.poi.common.Duplicatable
      Overrides:
      copy in class StandardEncryptionHeader