Package-level declarations

Types

Link copied to clipboard
object Base64

TODO(qol): Move to a utils module?

Link copied to clipboard
expect class CurrentPlatform
actual class CurrentPlatform(val type: PlatformType = PlatformType.JVM)
Link copied to clipboard
Link copied to clipboard
class EncodedMessageContent(val byteArray: ByteArray)
Link copied to clipboard
internal enum EventLoggingStatus : Enum<EventLoggingStatus>
Link copied to clipboard
internal class EventProcessingLogger(logger: <Error class: unknown class>, event: Event, startOfProcessing: <Error class: unknown class>)

The EventProcessingLogger class is responsible for logging event processing details.

Link copied to clipboard
Link copied to clipboard
class ExponentialDurationHelperImpl(initialDuration: <Error class: unknown class>, maxDuration: <Error class: unknown class>, factor: Double = 2.0) : ExponentialDurationHelper
Link copied to clipboard
Link copied to clipboard
data class KaliumMockEngine(val mockEngine: <Error class: unknown class>)
Link copied to clipboard
Link copied to clipboard
expect class PlatformContext
actual class PlatformContext
Link copied to clipboard
Link copied to clipboard
expect class PlatformView
actual class PlatformView(val view: Int)
Link copied to clipboard
internal expect class SecureRandom
internal actual class SecureRandom
Link copied to clipboard
internal interface SecurityHelper
Link copied to clipboard
internal class SecurityHelperImpl(passphraseStorage: <Error class: unknown class>) : SecurityHelper
Link copied to clipboard
internal interface ServerTimeHandler
Link copied to clipboard
Link copied to clipboard
class TimeLogger(processName: String)

The TimeLogger class is designed to measure the duration of a process for benchmarking purposes. It takes a processName as a parameter to identify the process being timed.

Link copied to clipboard
internal class TriggerBuffer<T>(trigger: <Error class: unknown class><Boolean>, scope: <Error class: unknown class>)

A buffer that will collect items and emit list of all items buffered since last emitted list only when trigger emits true.

Properties

Link copied to clipboard
val <Error class: unknown class>.inWholeWeeks: Long

Functions

Link copied to clipboard
fun buildFileName(name: String, extension: String? = null, copyCounter: Int = 0): String
Link copied to clipboard
expect fun checkIfCompressedFileContainsFileTypes(compressedFilePath: <Error class: unknown class>, fileSystem: KaliumFileSystem, expectedFileExtensions: List<String>): Either<CoreFailure, Map<String, Boolean>>
actual fun checkIfCompressedFileContainsFileTypes(compressedFilePath: <Error class: unknown class>, fileSystem: KaliumFileSystem, expectedFileExtensions: List<String>): Either<CoreFailure, Map<String, Boolean>>
Link copied to clipboard
expect fun createCompressedFile(files: List<<Error class: unknown class><<Error class: unknown class>, String>>, outputSink: <Error class: unknown class>): Either<CoreFailure, Long>
actual fun createCompressedFile(files: List<<Error class: unknown class><<Error class: unknown class>, String>>, outputSink: <Error class: unknown class>): Either<CoreFailure, Long>
Link copied to clipboard
internal fun <Error class: unknown class>.createEventProcessingLogger(event: Event): <Error class: unknown class>
Link copied to clipboard
expect inline fun <T> decodeBufferSequence(bufferedSource: <Error class: unknown class>): <Error class: unknown class><T>
actual inline fun <T> decodeBufferSequence(bufferedSource: <Error class: unknown class>): <Error class: unknown class><T>
Link copied to clipboard
expect fun extractCompressedFile(inputSource: <Error class: unknown class>, outputRootPath: <Error class: unknown class>, param: ExtractFilesParam, fileSystem: KaliumFileSystem): Either<CoreFailure, Long>
actual fun extractCompressedFile(inputSource: <Error class: unknown class>, outputRootPath: <Error class: unknown class>, param: ExtractFilesParam, fileSystem: KaliumFileSystem): Either<CoreFailure, Long>
Link copied to clipboard
fun String.fileExtension(): String?
Link copied to clipboard
fun Int?.isGreaterThan(other: Int?): Boolean
Link copied to clipboard
fun <Error class: unknown class>?.isPositiveNotNull(): Boolean
Link copied to clipboard
fun <K, V> <Error class: unknown class><K, MutableSet<V>>.safeComputeAndMutateSetValue(key: K, f: () -> V): MutableSet<V>

Convenience method to compute a {K, Set} map mutating the collection with f() if the key is present.

Link copied to clipboard
fun String.serialNumber(): <Error class: unknown class>

This extension function is used to format the serial number of the certificate. output will be in the format of 2 bytes separated by a colon. e.g. 01:02:03:04:05:06:07:08:09:0A:0B:0C:0D:0E:0F:10

Link copied to clipboard
fun String.splitFileExtension(): <Error class: unknown class><String, String?>
Link copied to clipboard
fun String.splitFileExtensionAndCopyCounter(): <Error class: unknown class><String, Int, String?>
Link copied to clipboard
internal fun Boolean.toInt(): Int