DklsKeyshare class
DklsKeyshare represents local part of a distributed key
- Implemented types
Constructors
- Create DklsKeyshare using handle
-
Create DklsKeyshare using bytes
factory
Properties
-
handle
→ Pointer<
Handle> -
handle
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Get keyshare id in base 64.
no setter
- isFreed → bool
-
Is keyshare memory freed. If true then other functions might misbehave.
no setter
- keyId → String
-
Get keyshare id in base 64.
no setter
- keyIdB64 → String
-
Get keyshare id in base 64.
no setter
- keyIdBytes → Uint8List
-
no setter
- keyIdHex → String
-
Get keyshare id in hex.
no setter
- publicKey → String
-
Get keyshare public key in bytes in base 64.
no setter
- publicKeyBase64 → String
-
Get keyshare public key in bytes in base 64.
no setter
- publicKeyBytes → Uint8List
-
Get keyshare public key in bytes.
no setter
- publicKeyHex → String
-
Get keyshare public key in bytes in hex.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → String
-
Get keyshare sessionId in base64.
no setter
- sessionIdB64 → String
-
Get keyshare sessionId in base64.
no setter
- sessionIdBytes → Uint8List
-
Get keyshare sessionId in bytes.
no setter
- sessionIdHex → String
-
Get keyshare sessionId in hex.
no setter
Methods
-
deriveChildPublicKeyBase64(
String derivationPath) → String - Get keyshare derived child public key in base64.
-
deriveChildPublicKeyData(
String derivationPath) → Uint8List - Get keyshare derived child public key in bytes.
-
deriveChildPublicKeyHex(
String derivationPath) → String - Get keyshare derived child public key in hex.
-
free(
) → void - Free keyshare memory.
-
getServerPublicPoint(
) → Pointer< tss_buffer> - Get server public point is use to verify backup
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → Uint8List -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited