Uses of Class
org.apache.poi.poifs.crypt.CipherAlgorithm
-
Packages that use CipherAlgorithm 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 CipherAlgorithm in org.apache.poi.poifs.crypt
Methods in org.apache.poi.poifs.crypt that return CipherAlgorithm Modifier and Type Method Description static CipherAlgorithm
CipherAlgorithm. fromEcmaId(int ecmaId)
static CipherAlgorithm
CipherAlgorithm. fromXmlId(String xmlId, int keySize)
CipherAlgorithm
EncryptionHeader. getCipherAlgorithm()
CipherAlgorithm
EncryptionVerifier. getCipherAlgorithm()
static CipherAlgorithm
CipherAlgorithm. valueOf(String name)
Returns the enum constant of this type with the specified name.static CipherAlgorithm[]
CipherAlgorithm. 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 CipherAlgorithm Modifier and Type Method Description static Cipher
CryptoFunctions. getCipher(Key key, CipherAlgorithm cipherAlgorithm, ChainingMode chain, byte[] vec, int cipherMode, String padding)
Initialize a new cipher object with the given cipher properties If the given algorithm is not implemented in the JCE, it will try to load it from the bouncy castle provider.static Cipher
CryptoFunctions. getCipher(SecretKey key, CipherAlgorithm cipherAlgorithm, ChainingMode chain, byte[] vec, int cipherMode)
Initialize a new cipher object with the given cipher properties and no padding If the given algorithm is not implemented in the JCE, it will try to load it from the bouncy castle provider.void
EncryptionInfoBuilder. initialize(EncryptionInfo ei, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
initialize the builder from scratchvoid
EncryptionHeader. setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
void
EncryptionVerifier. setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
Constructors in org.apache.poi.poifs.crypt with parameters of type CipherAlgorithm Constructor Description EncryptionInfo(EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
Constructs an EncryptionInfo from scratch -
Uses of CipherAlgorithm in org.apache.poi.poifs.crypt.agile
Methods in org.apache.poi.poifs.crypt.agile that return CipherAlgorithm Modifier and Type Method Description CipherAlgorithm
KeyData. getCipherAlgorithm()
CipherAlgorithm
PasswordKeyEncryptor. getCipherAlgorithm()
Methods in org.apache.poi.poifs.crypt.agile with parameters of type CipherAlgorithm Modifier and Type Method Description void
AgileEncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
void
AgileEncryptionVerifier. setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
void
KeyData. setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
void
PasswordKeyEncryptor. setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
Constructors in org.apache.poi.poifs.crypt.agile with parameters of type CipherAlgorithm 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 CipherAlgorithm in org.apache.poi.poifs.crypt.binaryrc4
Methods in org.apache.poi.poifs.crypt.binaryrc4 with parameters of type CipherAlgorithm Modifier and Type Method Description void
BinaryRC4EncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
Uses of CipherAlgorithm in org.apache.poi.poifs.crypt.cryptoapi
Methods in org.apache.poi.poifs.crypt.cryptoapi with parameters of type CipherAlgorithm 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 CipherAlgorithm 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 CipherAlgorithm in org.apache.poi.poifs.crypt.standard
Methods in org.apache.poi.poifs.crypt.standard with parameters of type CipherAlgorithm 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 CipherAlgorithm 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 CipherAlgorithm in org.apache.poi.poifs.crypt.xor
Methods in org.apache.poi.poifs.crypt.xor with parameters of type CipherAlgorithm Modifier and Type Method Description void
XOREncryptionInfoBuilder. initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-