Class EncryptionVerifier

java.lang.Object
org.apache.poi.poifs.crypt.EncryptionVerifier
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AgileEncryptionVerifier, BinaryRC4EncryptionVerifier, StandardEncryptionVerifier, XOREncryptionVerifier

public abstract class EncryptionVerifier extends Object implements Cloneable
Used when checking if a key is valid for a document
  • Constructor Details

    • EncryptionVerifier

      protected EncryptionVerifier()
  • Method Details

    • getSalt

      public byte[] getSalt()
    • getEncryptedVerifier

      public byte[] getEncryptedVerifier()
    • getEncryptedVerifierHash

      public byte[] getEncryptedVerifierHash()
    • getSpinCount

      public int getSpinCount()
    • getEncryptedKey

      public byte[] getEncryptedKey()
    • getCipherAlgorithm

      public CipherAlgorithm getCipherAlgorithm()
    • getHashAlgorithm

      public HashAlgorithm getHashAlgorithm()
    • getChainingMode

      public ChainingMode getChainingMode()
    • setSalt

      protected void setSalt(byte[] salt)
    • setEncryptedVerifier

      protected void setEncryptedVerifier(byte[] encryptedVerifier)
    • setEncryptedVerifierHash

      protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
    • setEncryptedKey

      protected void setEncryptedKey(byte[] encryptedKey)
    • setSpinCount

      protected void setSpinCount(int spinCount)
    • setCipherAlgorithm

      protected void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
    • setChainingMode

      protected void setChainingMode(ChainingMode chainingMode)
    • setHashAlgorithm

      protected void setHashAlgorithm(HashAlgorithm hashAlgorithm)
    • clone

      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException