org.apache.poi.poifs.crypt.cryptoapi
Class CryptoAPIEncryptionVerifier

java.lang.Object
  extended by org.apache.poi.poifs.crypt.EncryptionVerifier
      extended by org.apache.poi.poifs.crypt.standard.StandardEncryptionVerifier
          extended by org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIEncryptionVerifier
All Implemented Interfaces:
java.lang.Cloneable, EncryptionRecord

public class CryptoAPIEncryptionVerifier
extends StandardEncryptionVerifier
implements java.lang.Cloneable


Constructor Summary
protected CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
protected CryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
           
 
Method Summary
 CryptoAPIEncryptionVerifier clone()
           
protected  void setEncryptedVerifier(byte[] encryptedVerifier)
           
protected  void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
           
protected  void setSalt(byte[] salt)
           
 
Methods inherited from class org.apache.poi.poifs.crypt.standard.StandardEncryptionVerifier
getVerifierHashSize, write
 
Methods inherited from class org.apache.poi.poifs.crypt.EncryptionVerifier
getAlgorithm, getChainingMode, getCipherAlgorithm, getCipherMode, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCount
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptoAPIEncryptionVerifier

protected CryptoAPIEncryptionVerifier(LittleEndianInput is,
                                      CryptoAPIEncryptionHeader header)

CryptoAPIEncryptionVerifier

protected CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm,
                                      HashAlgorithm hashAlgorithm,
                                      int keyBits,
                                      int blockSize,
                                      ChainingMode chainingMode)
Method Detail

setSalt

protected void setSalt(byte[] salt)
Overrides:
setSalt in class StandardEncryptionVerifier

setEncryptedVerifier

protected void setEncryptedVerifier(byte[] encryptedVerifier)
Overrides:
setEncryptedVerifier in class StandardEncryptionVerifier

setEncryptedVerifierHash

protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
Overrides:
setEncryptedVerifierHash in class StandardEncryptionVerifier

clone

public CryptoAPIEncryptionVerifier clone()
                                  throws java.lang.CloneNotSupportedException
Overrides:
clone in class StandardEncryptionVerifier
Throws:
java.lang.CloneNotSupportedException