Skip navigation links
A B C D E F G H I K L O P R S T U V W X Z 

A

addBinary(Element, String, Integer) - Static method in class org.linguafranca.pwdb.kdbx.dom.DomHelper
Add a binary property value to the V3 Meta/Binaries element
addBinary(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
V4 add binary from inner header

B

base64FromUuid(UUID) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
baseDate - Static variable in class org.linguafranca.pwdb.kdbx.Helpers
 

C

cipherUuid - Variable in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
close() - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockInputStream
 
close() - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
 
close() - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
 
CollectingInputStream - Class in org.linguafranca.pwdb.hashedblock
Class allows the forwarding (as a filter) and collection of read bytes as a buffer - e.g.
CollectingInputStream(InputStream) - Constructor for class org.linguafranca.pwdb.hashedblock.CollectingInputStream
Create a collecting stream which is set to collect from the get go
CollectingInputStream(InputStream, boolean) - Constructor for class org.linguafranca.pwdb.hashedblock.CollectingInputStream
Create a collecting stream
CollectingOutputStream - Class in org.linguafranca.pwdb.hashedblock
Class allows the forwarding (as a filter) and collection of written bytes as a buffer - e.g.
CollectingOutputStream(OutputStream) - Constructor for class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
Create a collecting stream which is set to collect from the get go
CollectingOutputStream(OutputStream, boolean) - Constructor for class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
Create a collecting stream
createDecryptedStream(byte[], InputStream) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
Create a decrypted input stream using supplied digest and this header apply decryption to the passed encrypted input stream
createEncryptedOutputStream(Credentials, KdbxHeader, OutputStream) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
Provides an OutputStream to be encoded and encrypted in KDBX format
createEncryptedStream(byte[], OutputStream) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
Create an unencrypted outputStream using the supplied digest and this header and use the supplied output stream to write encrypted data.
createUnencryptedInputStream(Credentials, KdbxHeader, InputStream) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
Provides the payload of a KDBX file as an unencrypted InputStream.

D

dateTimeFormatter - Static variable in class org.linguafranca.pwdb.kdbx.Helpers
 
decodeBase64Content(byte[]) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
decodeBase64Content(byte[], boolean) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
DomHelper - Class in org.linguafranca.pwdb.kdbx.dom
The class contains static helper methods for access to the underlying XML DOM
DomHelper() - Constructor for class org.linguafranca.pwdb.kdbx.dom.DomHelper
 

E

encodeBase64Content(byte[]) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
encodeBase64Content(byte[], boolean) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
ensureElementContent(String, Element, String) - Static method in class org.linguafranca.pwdb.kdbx.dom.DomHelper
 

F

flush() - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
 
flush() - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
 
fromBoolean(Boolean) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
fromDate(Date) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
Formats the value according to the value of Helpers.isV4
fromDateV3(Date) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
fromDateV4(Date) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 

G

get(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockInputStream
Gets bytes from the internal buffer and replenishes the buffer as necessary
getBinaries() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getBinary(Element, Integer) - Static method in class org.linguafranca.pwdb.kdbx.dom.DomHelper
 
getBinaryCount(Element) - Static method in class org.linguafranca.pwdb.kdbx.dom.DomHelper
 
getCipherAlgorithm() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getCipherUuid() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getCollectedBytes() - Method in class org.linguafranca.pwdb.hashedblock.CollectingInputStream
Get the collected bytes as a byte array
getCollectedBytes() - Method in class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
Get the collected bytes as a byte array
getCompressionFlags() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getElementContent(String, Element) - Static method in class org.linguafranca.pwdb.kdbx.dom.DomHelper
 
getEncryptionIv() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getHeaderBytes() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
V4 provide access to the header as bytes for verification
getHeaderHash() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getHmacKey(Credentials) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
Compute the Hmac Key Digest from "KdbxFile.cs Computekeys"
getInnerRandomStreamKey() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getInnerStreamEncryptor() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getKdfParameters() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getKey() - Method in class org.linguafranca.pwdb.kdbx.KdbxCredentials.KeyFile
Deprecated.
 
getKey() - Method in class org.linguafranca.pwdb.kdbx.KdbxCredentials.Password
Deprecated.
 
getKey() - Method in class org.linguafranca.pwdb.kdbx.KdbxCreds
 
getKeyDerivationFunction() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getMasterSeed() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getProtectedStreamAlgorithm() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getStreamConfiguration() - Method in class org.linguafranca.pwdb.kdbx.KdbxStreamFormat
 
getStreamEncryptor() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getStreamStartBytes() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getTransformedKeyDigest(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
Takes the composite credentials and transforms them according to the underlying KDF algorithm.
getTransformRounds() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getTransformSeed() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
getVersion() - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 

H

HashedBlockInputStream - Class in org.linguafranca.pwdb.hashedblock
Takes an underlying input stream formatted as Hashed Blocks and provides the content of the blocks as an input stream
HashedBlockInputStream(InputStream) - Constructor for class org.linguafranca.pwdb.hashedblock.HashedBlockInputStream
Create a Big Endian Hash Block Input Stream
HashedBlockInputStream(InputStream, boolean) - Constructor for class org.linguafranca.pwdb.hashedblock.HashedBlockInputStream
Create a Hash Block Input Stream with choice of endian encoding
HashedBlockOutputStream - Class in org.linguafranca.pwdb.hashedblock
Takes a stream of data and formats as Hashed Blocks to the underlying output stream.
HashedBlockOutputStream(OutputStream) - Constructor for class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
Create a BigEndian Hash Block Output Stream
HashedBlockOutputStream(OutputStream, boolean) - Constructor for class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
Create a Hash Block Output Stream with choice of endian encoding
Helpers - Class in org.linguafranca.pwdb.kdbx
The class provides helpers to marshal and unmarshal values of KDBX files
Helpers() - Constructor for class org.linguafranca.pwdb.kdbx.Helpers
 
hexStringFromBase64(String) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
hexStringFromUuid(UUID) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
HmacBlockInputStream - Class in org.linguafranca.pwdb.hashedblock
Takes an underlying stream formatted as HMAC Hashed Blocks and provides the content of the blocks as a stream.
HmacBlockInputStream(byte[], InputStream) - Constructor for class org.linguafranca.pwdb.hashedblock.HmacBlockInputStream
Create a (big endian) HMac Block input stream
HmacBlockInputStream(byte[], InputStream, boolean) - Constructor for class org.linguafranca.pwdb.hashedblock.HmacBlockInputStream
Create an HMac Block input stream
HmacBlockOutputStream - Class in org.linguafranca.pwdb.hashedblock
Takes a stream of (encrypted GZIPped) data and formats it as HMAC Hashed Blocks to the underlying output stream.
HmacBlockOutputStream(byte[], OutputStream) - Constructor for class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
Create a BigEndian HmacBlockOutputStream
HmacBlockOutputStream(byte[], OutputStream, boolean) - Constructor for class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
Create a HmacBlockOutputStream with choice of endian encoding

I

isCollecting() - Method in class org.linguafranca.pwdb.hashedblock.CollectingInputStream
True if we are currently collecting bytes
isCollecting() - Method in class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
True if we are currently collecting bytes
isV4 - Static variable in class org.linguafranca.pwdb.kdbx.Helpers
Oftentimes we have no way of communicating which version we are using, say in an adapter that is buried deep in the internals of JAXB marshalling

K

KdbxCredentials - Interface in org.linguafranca.pwdb.kdbx
Deprecated.
use KdbxCreds instead
KdbxCredentials.KeyFile - Class in org.linguafranca.pwdb.kdbx
Deprecated.
Class for KDBX key file with password credentials
KdbxCredentials.Password - Class in org.linguafranca.pwdb.kdbx
Deprecated.
Class for KDBX password only credentials
KdbxCreds - Class in org.linguafranca.pwdb.kdbx
The class implements Credentials for KDBX files.
KdbxCreds(byte[], InputStream) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxCreds
Constructor for password with KDBX Keyfile
KdbxCreds(InputStream) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxCreds
Constructor for KDBX Keyfile with no password
KdbxCreds(byte[]) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxCreds
 
KdbxHeader - Class in org.linguafranca.pwdb.kdbx
This class represents the header portion of a KeePass KDBX file or stream.
KdbxHeader() - Constructor for class org.linguafranca.pwdb.kdbx.KdbxHeader
Construct a default version 3 KDBX header
KdbxHeader(int) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxHeader
Construct a default KDBX header with AES/AES/SALSA_20
KdbxHeader(KdbxHeader.KdbxHeaderOptions) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxHeader
 
KdbxHeader.CompressionFlags - Enum in org.linguafranca.pwdb.kdbx
The ordinal 0 represents uncompressed and 1 GZip compressed
KdbxKeyFile - Class in org.linguafranca.pwdb.kdbx
Class has a static method to load a key from a KDBX XML Key File
KdbxKeyFile() - Constructor for class org.linguafranca.pwdb.kdbx.KdbxKeyFile
 
KdbxSerializer - Class in org.linguafranca.pwdb.kdbx
This class provides static methods for the encryption and decryption of Keepass KDBX V3 and V4 files.
KdbxStreamFormat - Class in org.linguafranca.pwdb.kdbx
This class implements KDBX formatted saving and loading of databases
KdbxStreamFormat() - Constructor for class org.linguafranca.pwdb.kdbx.KdbxStreamFormat
Create a StreamFormat for reading or for writing v3 with default KdbxHeader
KdbxStreamFormat(KdbxStreamFormat.Version) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxStreamFormat
Deprecated.
use KdbxStreamFormat(KdbxHeader) with version set
KdbxStreamFormat(KdbxHeader) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxStreamFormat
Provide a KdbxHeader which includes version info
KdbxStreamFormat.Version - Enum in org.linguafranca.pwdb.kdbx
Deprecated.
use constructor with KdbxHeader.setVersion(int)
KeyFile(byte[], InputStream) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxCredentials.KeyFile
Deprecated.
Constructor for password with KDBX Keyfile
KeyFile(InputStream) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxCredentials.KeyFile
Deprecated.
Constructor for KDBX Keyfile with no password

L

load() - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockInputStream
Reload the internal buffer from the underlying input stream
load(InputStream) - Static method in class org.linguafranca.pwdb.kdbx.KdbxKeyFile
Load a key from an InputStream with a KDBX XML key file.
load(SerializableDatabase, Credentials, InputStream) - Method in class org.linguafranca.pwdb.kdbx.KdbxStreamFormat
 

O

org.linguafranca.pwdb.hashedblock - package org.linguafranca.pwdb.hashedblock
 
org.linguafranca.pwdb.kdbx - package org.linguafranca.pwdb.kdbx
 
org.linguafranca.pwdb.kdbx.dom - package org.linguafranca.pwdb.kdbx.dom
 

P

Password(byte[]) - Constructor for class org.linguafranca.pwdb.kdbx.KdbxCredentials.Password
Deprecated.
 
put(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
Writes to the internal buffer, and writes to the underlying output stream as necessary as HashedBlockOutputStream.BLOCK_SIZE blocks
put(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
Writes to the internal buffer, and writes to the underlying output stream as necessary as HmacBlockOutputStream.BLOCK_SIZE blocks

R

random - Static variable in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
read() - Method in class org.linguafranca.pwdb.hashedblock.CollectingInputStream
 
read(byte[]) - Method in class org.linguafranca.pwdb.hashedblock.CollectingInputStream
 
read(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.CollectingInputStream
 
read(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockInputStream
 
read() - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockInputStream
 
read(byte[]) - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockInputStream
 
read(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockInputStream
 
read() - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockInputStream
 
readOuterHeader(InputStream, KdbxHeader) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
Create and populate a KdbxHeader from the input stream supplied
readOuterHeaderVerification(KdbxHeader, Credentials, DataInput) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
V4 header is followed by an SHA256 and then contains an HMAC SHA256 after that.
readVariantDictionary(byte[]) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
Read a VariantDictionary from the supplied input according to KDBX rules

S

save() - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
Save the internal buffer to the underlying stream as a hash block
save() - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
Save the internal buffer to the underlying stream as a Hmac block
save(SerializableDatabase, Credentials, OutputStream) - Method in class org.linguafranca.pwdb.kdbx.KdbxStreamFormat
 
serializeVariantDictionary(VariantDictionary) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
Serialize a variant dictionary according to KDBX rules
setCipherAlgorithm(CipherAlgorithm) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setCipherUuid(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setCipherUuid(UUID) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setCollecting(boolean) - Method in class org.linguafranca.pwdb.hashedblock.CollectingInputStream
Cganeg the state of collecting bytes
setCollecting(boolean) - Method in class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
Cganeg the state of collecting bytes
setCompressionFlags(int) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setCustomData(VariantDictionary) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
V4 Add custom data
setElementContent(String, Element, String) - Static method in class org.linguafranca.pwdb.kdbx.dom.DomHelper
 
setEncryptionIv(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setHeaderBytes(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
V4 provide access to the header as bytes for verification
setHeaderHash(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setInnerRandomStreamId(int) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setInnerRandomStreamKey(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setKdfParameters(VariantDictionary) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
V4 add Key Definition Function Parameters
setKeyDerivationFunction(KeyDerivationFunction) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setMasterSeed(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setProtectedStreamAlgorithm(Encryption.ProtectedStreamAlgorithm) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setStreamConfiguration(KdbxHeader) - Method in class org.linguafranca.pwdb.kdbx.KdbxStreamFormat
 
setStreamStartBytes(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setTransformRounds(long) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setTransformSeed(byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
setVersion(int) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
 
skip(long) - Method in class org.linguafranca.pwdb.hashedblock.CollectingInputStream
 

T

toBoolean(String) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
toBytes(long, ByteOrder) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
toBytes(int, ByteOrder) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
toDate(String) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 

U

unzipBinaryContent(byte[]) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
uuidFromBase64(String) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 

V

valueOf(String) - Static method in enum org.linguafranca.pwdb.kdbx.KdbxHeader.CompressionFlags
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linguafranca.pwdb.kdbx.KdbxStreamFormat.Version
Deprecated.
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.linguafranca.pwdb.kdbx.KdbxHeader.CompressionFlags
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linguafranca.pwdb.kdbx.KdbxStreamFormat.Version
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
verifyHeaderHmac(byte[], byte[]) - Method in class org.linguafranca.pwdb.kdbx.KdbxHeader
Verify the header Hmac

W

write(int) - Method in class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
 
write(byte[]) - Method in class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
 
write(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.CollectingOutputStream
 
write(int) - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
 
write(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
 
write(int) - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
 
write(byte[], int, int) - Method in class org.linguafranca.pwdb.hashedblock.HmacBlockOutputStream
 
writeInnerHeader(KdbxHeader, OutputStream) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
 
writeInt(int) - Method in class org.linguafranca.pwdb.hashedblock.HashedBlockOutputStream
Write a 4 byte int value to the underlying stream in appropriate endian format
writeKdbxHeader(KdbxHeader, OutputStream) - Static method in class org.linguafranca.pwdb.kdbx.KdbxSerializer
Write a KdbxHeader to the output stream supplied.

X

xpath - Static variable in class org.linguafranca.pwdb.kdbx.dom.DomHelper
 

Z

zipBinaryContent(byte[]) - Static method in class org.linguafranca.pwdb.kdbx.Helpers
 
A B C D E F G H I K L O P R S T U V W X Z 
Skip navigation links

Copyright © 2023. All rights reserved.