Class EncryptionHeader

    • Method Detail

      • getFlags

        public int getFlags()
      • setFlags

        public void setFlags​(int flags)
      • getSizeExtra

        public int getSizeExtra()
      • setSizeExtra

        public void setSizeExtra​(int sizeExtra)
      • setCipherAlgorithm

        public void setCipherAlgorithm​(CipherAlgorithm cipherAlgorithm)
      • setHashAlgorithm

        public void setHashAlgorithm​(HashAlgorithm hashAlgorithm)
      • getKeySize

        public int getKeySize()
      • setKeySize

        public void setKeySize​(int keyBits)
        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
      • getBlockSize

        public int getBlockSize()
      • setBlockSize

        public void setBlockSize​(int blockSize)
      • getKeySalt

        public byte[] getKeySalt()
      • setKeySalt

        public void setKeySalt​(byte[] salt)
      • setCipherProvider

        public void setCipherProvider​(CipherProvider providerType)
      • getCspName

        public java.lang.String getCspName()
      • setCspName

        public void setCspName​(java.lang.String cspName)
      • copy

        public abstract EncryptionHeader copy()
        Specified by:
        copy in interface org.apache.poi.common.Duplicatable
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()
        Specified by:
        getGenericProperties in interface GenericRecord