kmp-tor
Toggle table of contents
2.2.0
common
Platform filter
common
Switch theme
Search in API
kmp-tor
runtime-core
/
io.matthewnelson.kmp.tor.runtime.core.key
/
AddressKey
/
Public
Public
sealed
class
Public
(
onionAddress
:
OnionAddress
)
:
Key.Public
,
Comparable
<
AddressKey.Public
>
(
source
)
Wrapper to extend
OnionAddress
capabilities for public key usage.
See also
Onion
Address.
as
Public
Key
ED25519_V3.
PublicKey
Inheritors
PublicKey
Members
Constructors
Public
Link copied to clipboard
protected
constructor
(
onionAddress
:
OnionAddress
)
Functions
address
Link copied to clipboard
open
fun
address
(
)
:
OnionAddress
algorithm
Link copied to clipboard
expect
abstract
fun
algorithm
(
)
:
String
base16
Link copied to clipboard
override
fun
base16
(
)
:
String
base16Or
Null
Link copied to clipboard
expect
override
fun
base16OrNull
(
)
:
String
base32
Link copied to clipboard
override
fun
base32
(
)
:
String
base32Or
Null
Link copied to clipboard
expect
override
fun
base32OrNull
(
)
:
String
base64
Link copied to clipboard
override
fun
base64
(
)
:
String
base64Or
Null
Link copied to clipboard
expect
override
fun
base64OrNull
(
)
:
String
compare
To
Link copied to clipboard
operator override
fun
compareTo
(
other
:
AddressKey.Public
)
:
Int
encoded
Link copied to clipboard
override
fun
encoded
(
)
:
ByteArray
encoded
Or
Null
Link copied to clipboard
expect
override
fun
encodedOrNull
(
)
:
ByteArray