public static class KdbxCredentials.KeyFile extends Object implements KdbxCredentials
KdbxCredentials.KeyFile, KdbxCredentials.PasswordCredentials.None| Constructor and Description |
|---|
KeyFile(@NotNull byte[] password,
@NotNull InputStream inputStream)
Constructor for password with KDBX Keyfile
|
KeyFile(@NotNull InputStream inputStream)
Constructor for KDBX Keyfile with no password
|
public KeyFile(@NotNull
@NotNull byte[] password,
@NotNull
@NotNull InputStream inputStream)
password - Master Password (new byte[0] if empty, not none)inputStream - inputstream of the keyfilepublic KeyFile(@NotNull
@NotNull InputStream inputStream)
inputStream - inputstream of the keyfilepublic byte[] getKey()
getKey in interface CredentialsCopyright © 2017. All rights reserved.