Class EncryptionHeader

    • Constructor Detail

      • EncryptionHeader

        protected EncryptionHeader()
    • Method Detail

      • setChainingMode

        protected void setChainingMode​(ChainingMode chainingMode)
      • 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 String getCspName()
      • setCspName

        public void setCspName​(String cspName)