-
public final class JniAccountUskServes as cross layer (Kotlin, Rust) communication class. It contains account identifier together with a ZIP 316 Unified Spending Key.
This is the spend authority for an account under the wallet's seed.
An instance of this class contains all of the per-pool spending keys that could be derived at the time of its creation. As such, it is not suitable for long-term storage, export/import, or backup purposes.
-
-
Field Summary
Fields Modifier and Type Field Description private final ByteArrayaccountUuidprivate final ByteArraybytes
-
Constructor Summary
Constructors Constructor Description JniAccountUsk(ByteArray accountUuid, ByteArray bytes)
-
Method Summary
Modifier and Type Method Description final ByteArraygetAccountUuid()The "one-way stable" identifier for the account tracked in the wallet to which this spending key belongs. final ByteArraygetBytes()The binary encoding of the ZIP 316 Unified Spending Key for accountUuid. StringtoString()-
-
Method Detail
-
getAccountUuid
final ByteArray getAccountUuid()
The "one-way stable" identifier for the account tracked in the wallet to which this spending key belongs.
-
getBytes
final ByteArray getBytes()
The binary encoding of the ZIP 316 Unified Spending Key for accountUuid.
This encoding MUST NOT be exposed to users. It is an internal encoding that is inherently unstable, and only intended to be passed between the SDK and the storage backend. Wallets MUST NOT allow this encoding to be exported or imported.
-
-
-
-