Package dev. inmo. tgbotapi. utils. passport
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun FileCredentials.decryptFile(bot: TelegramBot, passportFile: PassportFile): SourceBytes
Content copied to clipboard
Link copied to clipboard
fun EncryptedCredentials.decryptWithPKCS8PrivateKey(privateKey: PrivateKey): DecryptedCredentials
Content copied to clipboard
fun EncryptedCredentials.decryptWithPKCS8PrivateKey(key: String): DecryptedCredentials
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key( pkcs8Key: PrivateKey, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T
Content copied to clipboard
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key( pkcs8Key: String, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T
Content copied to clipboard