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:
EncryptionRecord

public class CryptoAPIEncryptionVerifier
extends StandardEncryptionVerifier


Constructor Summary
protected CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
protected CryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
           
 
Method Summary
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, getAlgorithmName, getChainingMode, getCipherAlgorithm, getCipherMode, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, getVerifier, getVerifierHash, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCount
 
Methods inherited from class java.lang.Object
clone, 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


Copyright 2016 The Apache Software Foundation or its licensors, as applicable.