WebAuthn Kotlin Multiplatform API
Toggle table of contents
0.4.1-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
WebAuthn Kotlin Multiplatform API
webauthn-client-prf-crypto
/
dev.webauthn.client.prf
/
PrfCryptoSession
Prf
Crypto
Session
class
PrfCryptoSession
In-memory, zeroizable session that encapsulates a PRF-derived AES key.
Members
Properties
context
Link copied to clipboard
val
context
:
String
is
Cleared
Link copied to clipboard
val
isCleared
:
Boolean
key
Fingerprint
Link copied to clipboard
val
keyFingerprint
:
String
Functions
clear
Link copied to clipboard
fun
clear
(
)
decrypt
Link copied to clipboard
suspend
fun
decrypt
(
ciphertext
:
PrfCiphertext
)
:
ByteArray
decrypt
To
String
Link copied to clipboard
suspend
fun
decryptToString
(
ciphertext
:
PrfCiphertext
)
:
String
encrypt
Link copied to clipboard
suspend
fun
encrypt
(
plaintext
:
ByteArray
,
associatedData
:
ByteArray
?
=
null
)
:
PrfCiphertext
encrypt
String
Link copied to clipboard
suspend
fun
encryptString
(
plaintext
:
String
,
associatedData
:
ByteArray
?
=
null
)
:
PrfCiphertext