| Package | Description |
|---|---|
| org.apache.poi.poifs.crypt |
Implementation of the ECMA-376 Document Encryption
The implementation is split into three packages:
This package contains common functions for both current implemented cipher modes.
|
| org.apache.poi.poifs.crypt.agile | |
| org.apache.poi.poifs.crypt.standard |
| Modifier and Type | Method and Description |
|---|---|
ChainingMode |
EncryptionVerifier.getChainingMode() |
ChainingMode |
EncryptionHeader.getChainingMode() |
static ChainingMode |
ChainingMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChainingMode[] |
ChainingMode.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(javax.crypto.SecretKey key,
CipherAlgorithm cipherAlgorithm,
ChainingMode chain,
byte[] vec,
int cipherMode) |
static javax.crypto.Cipher |
CryptoFunctions.getCipher(javax.crypto.SecretKey key,
CipherAlgorithm cipherAlgorithm,
ChainingMode chain,
byte[] vec,
int cipherMode,
java.lang.String padding) |
void |
EncryptionInfoBuilder.initialize(EncryptionInfo ei,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected void |
EncryptionVerifier.setChainingMode(ChainingMode chainingMode) |
protected void |
EncryptionHeader.setChainingMode(ChainingMode chainingMode) |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
AgileEncryptionInfoBuilder.initialize(EncryptionInfo info,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
| 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 |
StandardEncryptionInfoBuilder.initialize(EncryptionInfo info,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
| 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) |
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.