Package | Description |
---|---|
org.apache.poi.poifs.crypt |
Implementation of the ECMA-376 Document Encryption
|
Modifier and Type | Method | Description |
---|---|---|
static EncryptionMode |
EncryptionMode.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EncryptionMode[] |
EncryptionMode.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
protected static EncryptionInfoBuilder |
EncryptionInfo.getBuilder(EncryptionMode encryptionMode) |
Constructor | Description |
---|---|
EncryptionInfo(EncryptionMode encryptionMode) |
Prepares for encryption, using the given Encryption Mode, and
all other parameters as default.
|
EncryptionInfo(EncryptionMode encryptionMode,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Constructs an EncryptionInfo from scratch
|
EncryptionInfo(DirectoryNode dir,
EncryptionMode encryptionMode) |
Deprecated.
Use
EncryptionInfo(EncryptionMode) (dir parameter no longer required) |
EncryptionInfo(DirectoryNode dir,
EncryptionMode encryptionMode,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
|
EncryptionInfo(NPOIFSFileSystem fs,
EncryptionMode encryptionMode) |
Deprecated.
Use
EncryptionInfo(EncryptionMode) (fs parameter no longer required) |
EncryptionInfo(NPOIFSFileSystem fs,
EncryptionMode encryptionMode,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
|
EncryptionInfo(POIFSFileSystem fs,
EncryptionMode encryptionMode) |
Deprecated.
Use
EncryptionInfo(EncryptionMode) (fs parameter no longer required) |
EncryptionInfo(POIFSFileSystem fs,
EncryptionMode encryptionMode,
CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.