tether-core
Toggle table of contents
1.3.2
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
tether-core
tether-core
/
app.tether.core
/
CentralHandshake
/
CentralHandshake
Central
Handshake
constructor
(
staticKey
:
KeyPair
,
peerStatic
:
ByteArray
,
token
:
ByteArray
?
,
ephemeral
:
KeyPair
=
P256.generate()
,
nonce
:
ByteArray
=
ByteArray(16).also { SecureRandom().nextBytes(it) }
)
(
source
)