Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
sealed class KeePassDatabase

Main class which describes Keepass database.

Functions

Link copied to clipboard
fun KeePassDatabase.Companion.decode(inputStream: InputStream, credentials: Credentials, validateHashes: Boolean = true, contentParser: XmlContentParser = DefaultXmlContentParser, cipherProviders: List<CipherProvider> = BaseCiphers.entries, untitledLabel: String = Defaults.UntitledLabel): KeePassDatabase
Link copied to clipboard
fun KeePassDatabase.Companion.decodeFromXml(inputStream: InputStream, credentials: Credentials, contentParser: XmlContentParser = DefaultXmlContentParser, untitledLabel: String = Defaults.UntitledLabel): KeePassDatabase
Link copied to clipboard
fun KeePassDatabase.encode(outputStream: OutputStream, contentParser: XmlContentParser = DefaultXmlContentParser, cipherProviders: List<CipherProvider> = BaseCiphers.entries, random: SecureRandom = SecureRandom()): KeePassDatabase
Link copied to clipboard
fun KeePassDatabase.encodeAsXml(contentParser: XmlContentParser = DefaultXmlContentParser): String
Link copied to clipboard

Searches for entries which match a given predicate while respecting GroupOverride and ignoring items in Recycle Bin.

Link copied to clipboard

Searches for single Entry which matches a given predicate while respecting GroupOverride and ignoring items in Recycle Bin.

Link copied to clipboard

Searches for single Entry which matches a given predicate while respecting GroupOverride and ignoring items in Recycle Bin.

Link copied to clipboard

Retrieves entries which match a given predicate.

Link copied to clipboard

Retrieves a single Entry which matches a given predicate.

Link copied to clipboard
fun KeePassDatabase.getEntryBy(predicate: Entry.() -> Boolean): Entry?

Retrieves a single Entry which matches a given predicate.

Link copied to clipboard

Retrieves a single Group which matches a given predicate.

Link copied to clipboard
fun KeePassDatabase.getGroupBy(predicate: Group.() -> Boolean): Group?

Retrieves a single Group which matches a given predicate.

Link copied to clipboard

Measures KDF transform rounds performance based on header parameters.

Link copied to clipboard
fun KeePassDatabase.resolveEntryPlaceholders(entry: Entry, maxDepth: UInt = Defaults.PlaceholdersMaxDepth): Map<String, EntryValue>

Iterates over Entry fields and recursively resolves every Placeholder up to maxDepth.

Link copied to clipboard
fun KeePassDatabase.resolvePlaceholder(entry: Entry, placeholder: String, maxDepth: UInt = Defaults.PlaceholdersMaxDepth): String

Recursively resolves Placeholder up to maxDepth.

Link copied to clipboard
fun KeePassDatabase.resolveReference(reference: String, maxDepth: UInt = Defaults.PlaceholdersMaxDepth): String

Recursively resolves field reference up to maxDepth.

Link copied to clipboard
fun KeePassDatabase.resolveValuePlaceholders(entry: Entry, value: EntryValue, maxDepth: UInt = Defaults.PlaceholdersMaxDepth): EntryValue

Recursively resolves every Placeholder up to maxDepth.

Link copied to clipboard