1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-02-17 04:01:50 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.utils.passport/do-in-decryption-context-with-p-k-c-s8-key.md
2021-03-17 15:18:37 +00:00

1.7 KiB

//docs/dev.inmo.tgbotapi.utils.passport/doInDecryptionContextWithPKCS8Key

doInDecryptionContextWithPKCS8Key

[jvm]
Content
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