#[non_exhaustive]pub enum FileField {
Show 57 variants
AgileReserved,
SpinCount,
KeyDataKeyBits,
EncryptedKeyKeyBits,
KeyDataBlockSize,
EncryptedKeyBlockSize,
KeyDataHashSize,
EncryptedKeyHashSize,
KeyDataSaltSize,
EncryptedKeySaltSize,
KeyDataSaltValue,
EncryptedKeySaltValue,
KeyDataHashAlgorithm,
EncryptedKeyHashAlgorithm,
KeyDataCipherAlgorithm,
EncryptedKeyCipherAlgorithm,
KeyDataCipherChaining,
EncryptedKeyCipherChaining,
EncryptedKeyValue,
EncryptedVerifierHashInput,
EncryptedVerifierHashValue,
PasswordKeyEncryptor,
DataIntegrity,
EncryptedHmacKey,
EncryptedHmacValue,
SessionKey,
EncryptionInfo,
EncryptionHeaderSize,
EncryptionHeader,
EncryptionHeaderFlags,
EncryptionHeaderKeySize,
EncryptionHeaderAlgId,
EncryptionVerifier,
VerifierSaltSize,
VerifierHashSize,
EncryptedPackageSize,
Rc4Office97Header,
FibWIdent,
FibLKey,
EncryptionVersionInfo,
BiffRecord,
WorkbookBof,
Filepass,
FilepassEncryptionType,
UserEditAtom,
OffsetLastEdit,
PersistDirectory,
EncryptSessionPersistIdRef,
CryptSession10Container,
PersistObject,
PicturesRecord,
SummaryStream,
SummaryDescriptorArray,
SummaryDescriptorCount,
SummaryDescriptor,
SummaryStreamName,
SummaryStreamExtent,
}crypto-ops only.Expand description
What Error::BadParameters, Error::InvariantViolated and
Error::UnsupportedAlgorithm carry: closed enums and integers, never text the file
chose. Exported for the same reason as the two above: a caller matches on them.
What Error::BadParameters, Error::InvariantViolated and
Error::UnsupportedAlgorithm carry: closed enums and integers, never text the file
chose. Exported for the same reason as the two above: a caller matches on them.
What Error::BadParameters, Error::InvariantViolated and
Error::UnsupportedAlgorithm carry: closed enums and integers, never text the file
chose. Exported for the same reason as the two above: a caller matches on them.
Which field of the file a crate::Error::BadParameters is about.
Named in the specification’s own spelling. Where the format carries two
copies of one field (agile keyData and p:encryptedKey), each has its own
entry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AgileReserved
The agile EncryptionInfo’s Reserved field.
SpinCount
p:encryptedKey/@spinCount.
KeyDataKeyBits
keyData/@keyBits.
EncryptedKeyKeyBits
p:encryptedKey/@keyBits.
KeyDataBlockSize
keyData/@blockSize.
EncryptedKeyBlockSize
p:encryptedKey/@blockSize.
KeyDataHashSize
keyData/@hashSize.
EncryptedKeyHashSize
p:encryptedKey/@hashSize.
KeyDataSaltSize
keyData/@saltSize.
EncryptedKeySaltSize
p:encryptedKey/@saltSize.
KeyDataSaltValue
keyData/@saltValue, its decoded length.
EncryptedKeySaltValue
p:encryptedKey/@saltValue, its decoded length.
KeyDataHashAlgorithm
keyData/@hashAlgorithm.
EncryptedKeyHashAlgorithm
p:encryptedKey/@hashAlgorithm.
KeyDataCipherAlgorithm
keyData/@cipherAlgorithm.
EncryptedKeyCipherAlgorithm
p:encryptedKey/@cipherAlgorithm.
KeyDataCipherChaining
keyData/@cipherChaining.
EncryptedKeyCipherChaining
p:encryptedKey/@cipherChaining.
EncryptedKeyValue
p:encryptedKey/@encryptedKeyValue, its decoded length.
EncryptedVerifierHashInput
p:encryptedKey/@encryptedVerifierHashInput, its decoded length.
EncryptedVerifierHashValue
p:encryptedKey/@encryptedVerifierHashValue, its decoded length.
PasswordKeyEncryptor
The keyEncryptor / p:encryptedKey elements.
DataIntegrity
The dataIntegrity element.
EncryptedHmacKey
dataIntegrity/@encryptedHmacKey, its decoded length.
EncryptedHmacValue
dataIntegrity/@encryptedHmacValue, its decoded length.
SessionKey
The session key keyData/@keyBits describes, as recovered.
EncryptionInfo
The binary EncryptionInfo as a whole: its fixed prefix.
EncryptionHeaderSize
EncryptionHeaderSize.
EncryptionHeader
The EncryptionHeader structure’s fixed fields.
EncryptionHeaderFlags
EncryptionHeader.Flags.
EncryptionHeaderKeySize
EncryptionHeader.KeySize.
EncryptionHeaderAlgId
EncryptionHeader.AlgID.
EncryptionVerifier
The EncryptionVerifier structure.
VerifierSaltSize
EncryptionVerifier.SaltSize.
VerifierHashSize
EncryptionVerifier.VerifierHashSize.
EncryptedPackageSize
EncryptedPackage’s StreamSize.
Rc4Office97Header
The Office 97/2000 RC4 header (2.3.6.1).
FibWIdent
FibBase.wIdent.
FibLKey
FibBase.lKey.
EncryptionVersionInfo
The EncryptionVersionInfo a FIB or FILEPASS points at.
BiffRecord
A BIFF record header.
WorkbookBof
The Workbook stream’s opening BOF record.
Filepass
The FILEPASS record.
FilepassEncryptionType
FILEPASS.wEncryptionType.
UserEditAtom
The UserEditAtom.
OffsetLastEdit
UserEditAtom.offsetLastEdit.
PersistDirectory
The PersistDirectoryAtom.
EncryptSessionPersistIdRef
UserEditAtom.encryptSessionPersistIdRef.
CryptSession10Container
The CryptSession10Container.
PersistObject
A persist object’s offset.
PicturesRecord
A record of the Pictures stream.
SummaryStream
The encryption stream as a whole.
SummaryDescriptorArray
The EncryptedStreamDescriptor array.
SummaryDescriptorCount
EncryptedStreamDescriptorCount.
SummaryDescriptor
One EncryptedStreamDescriptor.
SummaryStreamName
An EncryptedStreamDescriptor’s stream name.
SummaryStreamExtent
An encrypted stream’s extent.