E2eeSelfKeyParcelable


public final class E2eeSelfKeyParcelable implements Parcelable, E2eeBaseKeyParcelable


Represents an E2eeBaseKeyParcelable tied to the current user.

Summary

Nested types

Builder class for E2eeSelfKeyParcelable.

Public methods

boolean
@NonNull String

Returns the account ID.

@NonNull String

Returns the device ID.

@Nullable byte[]

Returns the public key.

@NonNull String

Returns the package name that owns the key.

int

Returns the remote verification state of the key.

long

Returns the timestamp of the last update.

int
void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int

Constants

CREATOR

public static final Parcelable.Creator<E2eeSelfKeyParcelableCREATOR

Public fields

accountId

public @NonNull String accountId

deviceId

public @NonNull String deviceId

keyValue

public @Nullable byte[] keyValue

ownerPackageName

public @NonNull String ownerPackageName

remoteVerificationState

public int remoteVerificationState

timeUpdated

public long timeUpdated

Public methods

equals

public boolean equals(@Nullable Object other)

getAccountId

public @NonNull String getAccountId()

Returns the account ID.

getDeviceId

public @NonNull String getDeviceId()

Returns the device ID.

getKeyValue

public @Nullable byte[] getKeyValue()

Returns the public key.

getOwnerPackageName

public @NonNull String getOwnerPackageName()

Returns the package name that owns the key.

getRemoteVerificationState

public int getRemoteVerificationState()

Returns the remote verification state of the key.

getTimeUpdated

public long getTimeUpdated()

Returns the timestamp of the last update.

hashCode

public int hashCode()

writeToParcel

public void writeToParcel(Parcel dest, int flags)