pub enum OuterHeaderId {
Show 14 variants
EndOfHeader,
Comment,
CipherId,
CompressionFlags,
MasterSeed,
LegacyTransformSeed,
LegacyTransformRounds,
EncryptionIv,
ProtectedStreamKey,
StreamStartBytes,
InnerRandomStreamId,
KdfParameters,
PublicCustomData,
Unknown(u8),
}
Expand description
Field types for unencrypted header
Variants§
EndOfHeader
Last header field
Comment
Custom comment to describe the database
CipherId
UUID indicating the cipher for the database
CompressionFlags
Compression algorithm in use
MasterSeed
Seed to make database keys unique
LegacyTransformSeed
KDBX3 only - Seed used for converting passwords to keys
LegacyTransformRounds
KDBX3 only - Number of rounds of aes256 to use to generate keys
EncryptionIv
Initial value for encrypting/decrypting the stream
ProtectedStreamKey
KDBX3 only - Key used for decrypting inner streams
StreamStartBytes
KDBX3 only - First 32 bytes of decrypted data, newer databases have a HMAC
InnerRandomStreamId
KDBX3 only - Cipher identifer for data encrypted in memory
KdfParameters
KDBX4 only - Parameters used to convert credentials to keys
PublicCustomData
KDBX4 only - Unencrypted custom data for plugins
Unknown(u8)
Some header field not supported by this library
Trait Implementations§
Source§impl Clone for OuterHeaderId
impl Clone for OuterHeaderId
Source§fn clone(&self) -> OuterHeaderId
fn clone(&self) -> OuterHeaderId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OuterHeaderId
impl Debug for OuterHeaderId
Source§impl From<OuterHeaderId> for u8
impl From<OuterHeaderId> for u8
Source§fn from(id: OuterHeaderId) -> u8
fn from(id: OuterHeaderId) -> u8
Converts to this type from the input type.
Source§impl From<u8> for OuterHeaderId
impl From<u8> for OuterHeaderId
Source§fn from(id: u8) -> OuterHeaderId
fn from(id: u8) -> OuterHeaderId
Converts to this type from the input type.
Source§impl Hash for OuterHeaderId
impl Hash for OuterHeaderId
Source§impl Ord for OuterHeaderId
impl Ord for OuterHeaderId
Source§fn cmp(&self, other: &OuterHeaderId) -> Ordering
fn cmp(&self, other: &OuterHeaderId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OuterHeaderId
impl PartialEq for OuterHeaderId
Source§impl PartialOrd for OuterHeaderId
impl PartialOrd for OuterHeaderId
impl Copy for OuterHeaderId
impl Eq for OuterHeaderId
impl StructuralPartialEq for OuterHeaderId
Auto Trait Implementations§
impl Freeze for OuterHeaderId
impl RefUnwindSafe for OuterHeaderId
impl Send for OuterHeaderId
impl Sync for OuterHeaderId
impl Unpin for OuterHeaderId
impl UnwindSafe for OuterHeaderId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more