ktgbotapi
Toggle table of contents
common
jvm
Platform filter
common
jvm
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.types.passport.credentials
/
EncryptedCredentials
Encrypted
Credentials
data
class
EncryptedCredentials
(
val
data
:
<Error class: unknown class>
,
val
hash
:
<Error class: unknown class>
,
val
secret
:
<Error class: unknown class>
)
Members
Members & Extensions
Constructors
Encrypted
Credentials
Link copied to clipboard
constructor
(
data
:
<Error class: unknown class>
,
hash
:
<Error class: unknown class>
,
secret
:
<Error class: unknown class>
)
Properties
data
Link copied to clipboard
val
data
:
<Error class: unknown class>
hash
Link copied to clipboard
val
hash
:
<Error class: unknown class>
secret
Link copied to clipboard
val
secret
:
<Error class: unknown class>
Functions
decrypt
With
PKCS8Private
Key
Link copied to clipboard
jvm
fun
EncryptedCredentials
.
decryptWithPKCS8PrivateKey
(
privateKey
:
PrivateKey
)
:
DecryptedCredentials
fun
EncryptedCredentials
.
decryptWithPKCS8PrivateKey
(
key
:
String
)
:
DecryptedCredentials