Package | Description |
---|---|
org.apache.poi.poifs.crypt |
Implementation of the ECMA-376 and MS-propritary document encryptions
|
org.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 |
Modifier and Type | Method and Description |
---|---|
static CipherAlgorithm |
CipherAlgorithm.fromEcmaId(int ecmaId) |
static CipherAlgorithm |
CipherAlgorithm.fromXmlId(java.lang.String xmlId,
int keySize) |
CipherAlgorithm |
EncryptionHeader.getCipherAlgorithm() |
CipherAlgorithm |
EncryptionVerifier.getCipherAlgorithm() |
static CipherAlgorithm |
CipherAlgorithm.valueOf(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
static javax.crypto.Cipher |
CryptoFunctions.getCipher(java.security.Key key,
CipherAlgorithm cipherAlgorithm,
ChainingMode chain,
byte[] vec,
int cipherMode,
java.lang.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 javax.crypto.Cipher |
CryptoFunctions.getCipher(javax.crypto.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 scratch
|
protected void |
EncryptionHeader.setCipherAlgorithm(CipherAlgorithm cipherAlgorithm) |
protected void |
EncryptionVerifier.setCipherAlgorithm(CipherAlgorithm cipherAlgorithm) |
Constructor and Description |
---|
EncryptionInfo(EncryptionMode encryptionMode,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode)
Constructs an EncryptionInfo from scratch
|
Modifier and Type | Method and Description |
---|---|
void |
AgileEncryptionInfoBuilder.initialize(EncryptionInfo info,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected void |
AgileEncryptionVerifier.setCipherAlgorithm(CipherAlgorithm cipherAlgorithm) |
Constructor and Description |
---|
AgileEncryptionHeader(CipherAlgorithm algorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Modifier and Type | Method and Description |
---|---|
void |
BinaryRC4EncryptionInfoBuilder.initialize(EncryptionInfo info,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Modifier and Type | Method and Description |
---|---|
void |
CryptoAPIEncryptionInfoBuilder.initialize(EncryptionInfo info,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode)
initialize the builder from scratch
|
Constructor and Description |
---|
CryptoAPIEncryptionHeader(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Modifier and Type | Method and Description |
---|---|
void |
StandardEncryptionInfoBuilder.initialize(EncryptionInfo info,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode)
initialize the builder from scratch
|
Constructor and Description |
---|
StandardEncryptionHeader(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
StandardEncryptionVerifier(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Modifier and Type | Method and Description |
---|---|
void |
XOREncryptionInfoBuilder.initialize(EncryptionInfo info,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.