Package dev. inmo. tgbotapi. utils. passport
Types
Functions
create Decryptor
Link copied to clipboard
decrypt Data
Link copied to clipboard
decrypt File
Link copied to clipboard
suspend fun FileCredentials.decryptFile(bot: TelegramBot, passportFile: PassportFile): SourceBytes
Content copied to clipboard
decrypt With PKCS8Private Key
Link copied to clipboard
fun EncryptedCredentials.decryptWithPKCS8PrivateKey(privateKey: PrivateKey): DecryptedCredentials
Content copied to clipboard
fun EncryptedCredentials.decryptWithPKCS8PrivateKey(key: String): DecryptedCredentials
Content copied to clipboard
do In Decryption Context With PKCS8Key
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