KeyInfo class

Provides a keyId and a secureKey pair.

Used by KeyManager.remoteKeyForType to provide both, the current key and the id required for decryption.

Annotations
  • @freezed

Constructors

KeyInfo(int keyId, SecureKey secureKey)
Default constructor.
const
factory

Properties

copyWith → $KeyInfoCopyWith<KeyInfo>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
keyId int
The id of the secureKey.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secureKey → SecureKey
The actual key.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited