KeyImporter

@Singleton
class KeyImporter @Inject constructor(database: Database, jsonKeyReader: JsonKeyReader, downloaders: Set<KeyDownloader>)

Constructors

Link copied to clipboard
@Inject
constructor(database: Database, jsonKeyReader: JsonKeyReader, downloaders: Set<KeyDownloader>)

Functions

Link copied to clipboard
suspend fun download()
Link copied to clipboard
suspend fun import(path: Path)
suspend fun import(keys: Iterable<SymmetricKey>, source: KeySource)