Uses of Class
org.apache.poi.poifs.crypt.HashAlgorithm

Packages that use HashAlgorithm
org.apache.poi.poifs.crypt Implementation of the ECMA-376 Document Encryption 
org.apache.poi.poifs.crypt.agile   
org.apache.poi.poifs.crypt.standard   
org.apache.poi.xwpf.usermodel   
 

Uses of HashAlgorithm in org.apache.poi.poifs.crypt
 

Methods in org.apache.poi.poifs.crypt that return HashAlgorithm
static HashAlgorithm HashAlgorithm.fromEcmaId(int ecmaId)
           
static HashAlgorithm HashAlgorithm.fromEcmaId(java.lang.String ecmaString)
           
 HashAlgorithm EncryptionVerifier.getHashAlgorithm()
           
 HashAlgorithm EncryptionHeader.getHashAlgorithmEx()
           
static HashAlgorithm HashAlgorithm.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HashAlgorithm[] HashAlgorithm.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.apache.poi.poifs.crypt with parameters of type HashAlgorithm
static byte[] CryptoFunctions.generateIv(HashAlgorithm hashAlgorithm, byte[] salt, byte[] blockKey, int blockSize)
          2.3.4.12 Initialization Vector Generation (Agile Encryption) Initialization vectors are used in all cases for agile encryption.
static byte[] CryptoFunctions.generateKey(byte[] passwordHash, HashAlgorithm hashAlgorithm, byte[] blockKey, int keySize)
          2.3.4.11 Encryption Key Generation (Agile Encryption) ...
static javax.crypto.Mac CryptoFunctions.getMac(HashAlgorithm hashAlgorithm)
           
static java.security.MessageDigest CryptoFunctions.getMessageDigest(HashAlgorithm hashAlgorithm)
           
static byte[] CryptoFunctions.hashPassword(java.lang.String password, HashAlgorithm hashAlgorithm, byte[] salt, int spinCount)
          2.3.4.7 ECMA-376 Document Encryption Key Generation (Standard Encryption) 2.3.4.11 Encryption Key Generation (Agile Encryption) The encryption key for ECMA-376 document encryption [ECMA-376] using agile encryption MUST be generated by using the following method, which is derived from PKCS #5: Password-Based Cryptography Version 2.0 [RFC2898].
static byte[] CryptoFunctions.hashPassword(java.lang.String password, HashAlgorithm hashAlgorithm, byte[] salt, int spinCount, boolean iteratorFirst)
          Generalized method for read and write protection hash generation.
 void EncryptionInfoBuilder.initialize(EncryptionInfo ei, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
protected  void EncryptionVerifier.setHashAlgorithm(HashAlgorithm hashAlgorithm)
           
protected  void EncryptionHeader.setHashAlgorithm(HashAlgorithm hashAlgorithm)
           
 

Constructors in org.apache.poi.poifs.crypt with parameters of type HashAlgorithm
EncryptionInfo(DirectoryNode dir, EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
EncryptionInfo(NPOIFSFileSystem fs, EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
EncryptionInfo(POIFSFileSystem fs, EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
 

Uses of HashAlgorithm in org.apache.poi.poifs.crypt.agile
 

Methods in org.apache.poi.poifs.crypt.agile with parameters of type HashAlgorithm
 void AgileEncryptionInfoBuilder.initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
 

Constructors in org.apache.poi.poifs.crypt.agile with parameters of type HashAlgorithm
AgileEncryptionHeader(CipherAlgorithm algorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
 

Uses of HashAlgorithm in org.apache.poi.poifs.crypt.standard
 

Methods in org.apache.poi.poifs.crypt.standard with parameters of type HashAlgorithm
 void StandardEncryptionInfoBuilder.initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
 

Constructors in org.apache.poi.poifs.crypt.standard with parameters of type HashAlgorithm
StandardEncryptionHeader(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
StandardEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
 

Uses of HashAlgorithm in org.apache.poi.xwpf.usermodel
 

Methods in org.apache.poi.xwpf.usermodel with parameters of type HashAlgorithm
 void XWPFDocument.enforceCommentsProtection(java.lang.String password, HashAlgorithm hashAlgo)
          Enforce the Comments protection.

sample snippet from settings.xml
 void XWPFDocument.enforceFillingFormsProtection(java.lang.String password, HashAlgorithm hashAlgo)
          Enforce the Filling Forms protection.

sample snippet from settings.xml
 void XWPFDocument.enforceReadonlyProtection(java.lang.String password, HashAlgorithm hashAlgo)
          Enforces the readOnly protection with a password.

sample snippet from settings.xml
 void XWPFDocument.enforceTrackedChangesProtection(java.lang.String password, HashAlgorithm hashAlgo)
          Enforce the Tracked Changes protection.

sample snippet from settings.xml
 void XWPFSettings.setEnforcementEditValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDocProtect.Enum editValue, java.lang.String password, HashAlgorithm hashAlgo)
          Enforces the protection with the option specified by passed editValue and password.

sample snippet from settings.xml
 



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