Identity

open class Identity : Parcelable

A handle to a cryptographic identity stored in the Scatterbrain router. This class contains all identity metadata except for the private key (for security reasons). This class has no public constructor and is only returned by Scatterbrain api functions

Types

Companion
Link copied to clipboard
object Companion

Functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int
writeToParcel
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, i: Int)

Properties

extraKeys
Link copied to clipboard
val extraKeys: Map<String, ByteArray>
additional user defined keys or metadata
fingerprint
Link copied to clipboard
val fingerprint: UUID
unique identifier for this identity
isOwned
Link copied to clipboard
val isOwned: Boolean
true if this identity has a private key
name
Link copied to clipboard
val name: String
user-defined name
publicKey
Link copied to clipboard
val publicKey: ByteArray
ed25519 public key used by Scatterbrain
sig
Link copied to clipboard
val sig: ByteArray
ed25519 signature for this identity