library
androidJvm
library
/
org.xmtp.android.library
/
KeyUtil
Key
Util
object
KeyUtil
Members
Functions
add
Uncompressed
Byte
Link copied to clipboard
fun
addUncompressedByte
(
publicKey
:
ByteArray
)
:
ByteArray
get
Public
Key
Link copied to clipboard
fun
getPublicKey
(
privateKey
:
ByteArray
)
:
ByteArray
get
Signature
Bytes
Link copied to clipboard
fun
getSignatureBytes
(
sig
:
Sign.SignatureData
)
:
ByteArray
get
Signature
Data
Link copied to clipboard
fun
getSignatureData
(
signatureBytes
:
ByteArray
)
:
Sign.SignatureData
validate
Consent
Signature
Link copied to clipboard
fun
validateConsentSignature
(
signature
:
String
,
clientAddress
:
String
,
peerAddress
:
String
,
timestamp
:
Long
)
:
Boolean