Uses of Class
org.apache.poi.poifs.crypt.HashAlgorithm
-
Packages that use HashAlgorithm Package Description org.apache.poi.poifs.crypt Implementation of the ECMA-376 and MS-propritary document encryptionsorg.apache.poi.poifs.crypt.agile org.apache.poi.poifs.crypt.binaryrc4 org.apache.poi.poifs.crypt.cryptoapi org.apache.poi.poifs.crypt.standard org.apache.poi.poifs.crypt.xor -
-
Uses of HashAlgorithm in org.apache.poi.poifs.crypt
Methods in org.apache.poi.poifs.crypt that return HashAlgorithm Modifier and Type Method Description static HashAlgorithm
HashAlgorithm. fromEcmaId(int ecmaId)
static HashAlgorithm
HashAlgorithm. fromEcmaId(String ecmaString)
static HashAlgorithm
HashAlgorithm. fromString(String string)
HashAlgorithm
EncryptionHeader. getHashAlgorithm()
HashAlgorithm
EncryptionVerifier. getHashAlgorithm()
static HashAlgorithm
HashAlgorithm. valueOf(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 Modifier and Type Method Description static byte[]
CryptoFunctions. generateIv(HashAlgorithm hashAlgorithm, byte[] salt, byte[] blockKey, int blockSize)
2.3.4.12 Initialization Vector Generation (Agile Encryption)static byte[]
CryptoFunctions. generateKey(byte[] passwordHash, HashAlgorithm hashAlgorithm, byte[] blockKey, int keySize)
2.3.4.11 Encryption Key Generation (Agile Encryption)static Mac
CryptoFunctions. getMac(HashAlgorithm hashAlgorithm)
static MessageDigest
CryptoFunctions. getMessageDigest(HashAlgorithm hashAlgorithm)
static byte[]
CryptoFunctions. hashPassword(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)static byte[]
CryptoFunctions. hashPassword(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)
initialize the builder from scratchvoid
EncryptionHeader. setHashAlgorithm(HashAlgorithm hashAlgorithm)
void
EncryptionVerifier. setHashAlgorithm(HashAlgorithm hashAlgorithm)
Constructors in org.apache.poi.poifs.crypt with parameters of type HashAlgorithm Constructor Description EncryptionInfo(EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
Constructs an EncryptionInfo from scratch -
Uses of HashAlgorithm in org.apache.poi.poifs.crypt.agile
Methods in org.apache.poi.poifs.crypt.agile that return HashAlgorithm Modifier and Type Method Description HashAlgorithm
KeyData. getHashAlgorithm()
HashAlgorithm
PasswordKeyEncryptor. getHashAlgorithm()
Methods in org.apache.poi.poifs.crypt.agile with parameters of type HashAlgorithm Modifier and Type Method Description void
AgileEncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
void
KeyData. setHashAlgorithm(HashAlgorithm hashAlgorithm)
void
PasswordKeyEncryptor. setHashAlgorithm(HashAlgorithm hashAlgorithm)
Constructors in org.apache.poi.poifs.crypt.agile with parameters of type HashAlgorithm Constructor Description 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.binaryrc4
Methods in org.apache.poi.poifs.crypt.binaryrc4 with parameters of type HashAlgorithm Modifier and Type Method Description void
BinaryRC4EncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
Uses of HashAlgorithm in org.apache.poi.poifs.crypt.cryptoapi
Methods in org.apache.poi.poifs.crypt.cryptoapi with parameters of type HashAlgorithm Modifier and Type Method Description void
CryptoAPIEncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
initialize the builder from scratchConstructors in org.apache.poi.poifs.crypt.cryptoapi with parameters of type HashAlgorithm Constructor Description CryptoAPIEncryptionHeader(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
CryptoAPIEncryptionVerifier(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 Modifier and Type Method Description void
StandardEncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
initialize the builder from scratchConstructors in org.apache.poi.poifs.crypt.standard with parameters of type HashAlgorithm Constructor Description 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.poifs.crypt.xor
Methods in org.apache.poi.poifs.crypt.xor with parameters of type HashAlgorithm Modifier and Type Method Description void
XOREncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-