kpasslib library

A library to read, modify and write KDBX file format.

Classes

BinaryReference
A reference to a KDBX binary attachment.
CipherId
A cipher identifier.
Crypto
Global crypto configuration.
CryptoEngine
Factory for cryptographic algorithm instances.
CryptoFfi
CryptoEngine backed by a native C library.
DataSize
A data magnitude order.
Defaults
Various default constants.
KdbxBinaries
Collection of KDBX binaries.
KdbxBinary
A KDBX binary attachment.
KdbxCredentials
A KDBX master key credentials
KdbxCustomData
A KDBX custom data structure containing collection of KdbxCustomItem.
KdbxCustomIcon
A custom icon.
KdbxCustomItem
A KDBX custom item.
KdbxDatabase
A KDBX database.
KdbxDataBinary
A KDBX binary attachment with data.
KdbxEditState
An edit state of a KdbxDatabase.
KdbxEntry
Represents KDBX entry structure
KdbxEntryEditState
Edit state of a KDBX entry.
KdbxGroup
A KDBX group.
KdbxHeader
Represents KDBX header type
KdbxItem
KDBX item structure, base for KdbxEntry and KdbxGroup.
KdbxMemoryProtection
A memory protection flags.
KdbxMeta
Represents KDBX meta information type
KdbxMetaEditState
An edit state of the KdbxMeta
KdbxTextField
A text field of an KdbxEntry.
KdbxTime
Wraps DateTime type to support null value comparison.
KdbxTimes
Represents KDBX times type
KdbxUuid
A KDBX identifier.
KdfId
Identifier of KDF.
PlainBinary
A KDBX binary attachment with plain data.
PlainTextField
Represents plain text field
ProtectedBinary
A KDBX binary attachment with encrypted data.
ProtectedData
A wrapper for protection sensitive data in memory
ProtectedTextField
Represents encrypted text field
Signatures
Signature constants.
XmlAttr
KDBX XML elements attributes.
XmlElem
KDBX XML elements names.

Enums

CompressionAlgorithm
A compression type.
CrsAlgorithm
A CRC algorithm.
KdbxIcon
Standard icons.

Typedefs

KdbxChallengeResponse = List<int> Function(List<int> challenge)
A challenge response function type.

Exceptions / Errors

FileCorruptedError
A error thrown if a KDBX file corruption detected.
InvalidCredentialsError
A error thrown if credentials are invalid.
InvalidStateError
A error thrown if an invalid state detected.
KdbxError
A KDBX error that can be thrown.
MergeError
A error thrown while attempting to merge.
UnsupportedValueError
A error thrown while attempting to set an unsupported value.