Ksui
Toggle table of contents
2.2.1-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
Ksui
Ksui
/
xyz.mcxross.ksui.account
/
Secp256r1Account
Secp256r1Account
class
Secp256r1Account
(
privateKey
:
Secp256r1PrivateKey
)
:
Account
Members
Constructors
Secp256r1Account
Link copied to clipboard
constructor
(
privateKey
:
Secp256r1PrivateKey
,
mnemonic
:
String
)
constructor
(
privateKey
:
Secp256r1PrivateKey
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
address
Link copied to clipboard
open
override
val
address
:
AccountAddress
mnemonic
Link copied to clipboard
var
mnemonic
:
String
public
Key
Link copied to clipboard
open
override
val
publicKey
:
Secp256r1PublicKey
scheme
Link copied to clipboard
open
override
val
scheme
:
SignatureScheme
Functions
sign
Link copied to clipboard
open
suspend override
fun
sign
(
message
:
ByteArray
)
:
Result
<
ByteArray
,
E
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
verify
Link copied to clipboard
open
suspend override
fun
verify
(
message
:
ByteArray
,
signature
:
ByteArray
)
:
Result
<
Boolean
,
E
>