WalletCore
WalletCore
/
wallet.core.jni
/
WebAuthnSolidity
Web
Authn
Solidity
class
WebAuthnSolidity
Functions
Functions
get
Formatted
Signature
Link copied to clipboard
open
fun
getFormattedSignature
(
authenticatorData
:
String
,
clientDataJson
:
String
,
derSignature
:
Array
<
Byte
>
)
:
Array
<
Byte
>
Converts the original ASN-encoded signature from webauthn to the format accepted by Barz
get
Message
Hash
Link copied to clipboard
open
fun
getMessageHash
(
authenticatorData
:
String
,
clientDataJson
:
String
)
:
Array
<
Byte
>
Computes WebAuthn message hash to be signed with secp256p1 private key.