org.apache.poi.poifs.crypt
Class EncryptionVerifier
java.lang.Object
org.apache.poi.poifs.crypt.EncryptionVerifier
- Direct Known Subclasses:
- AgileEncryptionVerifier, BinaryRC4EncryptionVerifier, StandardEncryptionVerifier
public abstract class EncryptionVerifier
- extends java.lang.Object
Used when checking if a key is valid for a document
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptionVerifier
protected EncryptionVerifier()
getSalt
public byte[] getSalt()
getEncryptedVerifier
public byte[] getEncryptedVerifier()
getEncryptedVerifierHash
public byte[] getEncryptedVerifierHash()
getSpinCount
public int getSpinCount()
getCipherMode
public int getCipherMode()
getAlgorithm
public int getAlgorithm()
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)
Copyright 2016 The Apache Software Foundation or
its licensors, as applicable.