Top Fields Constructors Methods
org.apache.poi.poifs.crypt.agile

public Class AgileEncryptionHeader

extends EncryptionHeader
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.EncryptedDocumentException, org.apache.poi.poifs.crypt.ChainingMode, .CipherAlgorithm, .EncryptionHeader, .HashAlgorithm, org.apache.poi.util.GenericRecordUtil

Field Summary

Modifier and TypeField and Description
private byte[]
private byte[]

Constructor Summary

AccessConstructor and Description
public
public
protected
public
AgileEncryptionHeader(CipherAlgorithm algorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)

Method Summary

Modifier and TypeMethod and Description
public AgileEncryptionHeader
public byte[]
public byte[]
public Map<String, Supplier<?>>
protected void
setEncryptedHmacKey(byte[] encryptedHmacKey)

protected void
setEncryptedHmacValue(byte[] encryptedHmacValue)

public void
Inherited from org.apache.poi.poifs.crypt.EncryptionHeader:
getBlockSizegetChainingModegetCipherAlgorithmgetCipherProvidergetCspNamegetFlagsgetHashAlgorithmgetKeySaltgetKeySizegetSizeExtrasetBlockSizesetChainingModesetCipherAlgorithmsetCipherProvidersetCspNamesetFlagssetHashAlgorithmsetKeySizesetSizeExtra

Field Detail

encryptedHmacKeyback to summary
private byte[] encryptedHmacKey
encryptedHmacValueback to summary
private byte[] encryptedHmacValue

Constructor Detail

AgileEncryptionHeaderback to summary
public AgileEncryptionHeader(String descriptor)
AgileEncryptionHeaderback to summary
public AgileEncryptionHeader(AgileEncryptionHeader other)
AgileEncryptionHeaderback to summary
protected AgileEncryptionHeader(EncryptionDocument ed)
AgileEncryptionHeaderback to summary
public AgileEncryptionHeader(CipherAlgorithm algorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)

Method Detail

copyback to summary
public AgileEncryptionHeader copy()

Implements abstract org.apache.poi.poifs.crypt.EncryptionHeader.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:AgileEncryptionHeader

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getEncryptedHmacKeyback to summary
public byte[] getEncryptedHmacKey()
getEncryptedHmacValueback to summary
public byte[] getEncryptedHmacValue()
getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Overrides org.apache.poi.poifs.crypt.EncryptionHeader.getGenericProperties.

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
setEncryptedHmacKeyback to summary
protected void setEncryptedHmacKey(byte[] encryptedHmacKey)
setEncryptedHmacValueback to summary
protected void setEncryptedHmacValue(byte[] encryptedHmacValue)
setKeySaltback to summary
public void setKeySalt(byte[] salt)

Overrides org.apache.poi.poifs.crypt.EncryptionHeader.setKeySalt.

Annotations
@Override