Package-level declarations

Types

Link copied to clipboard
class AESDecryptor(key: <Error class: unknown class>, iv: ByteArray) : Decryptor
Link copied to clipboard
interface Decryptor

Functions

Link copied to clipboard
fun EndDataCredentials.createDecryptor(): <Error class: unknown class>
fun Pair<<Error class: unknown class>, <Error class: unknown class>>.createDecryptor(): Decryptor
Link copied to clipboard
fun EndDataCredentials.decryptData(bytes: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
fun FileCredentials.decryptFile(fileBytes: ByteArray): <Error class: unknown class>
suspend fun FileCredentials.decryptFile(bot: TelegramBot, passportFile: PassportFile): <Error class: unknown class>
Link copied to clipboard
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key(pkcs8Key: PrivateKey, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key(pkcs8Key: String, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T