AuthorizedKey class
AuthorizedKey represents a authorized public key with the encrypted secret key for this given key. By decrypting this secret key, the authorized public key will be able to decrypt its related secret
- Annotations
-
- @freezed
Constructors
- AuthorizedKey({String? publicKey, String? encryptedSecretKey})
-
constfactory
-
AuthorizedKey.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $AuthorizedKeyCopyWith<
AuthorizedKey> -
Create a copy of AuthorizedKey
with the given fields replaced by the non-null parameter values.
no setterinherited
- encryptedSecretKey → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this AuthorizedKey to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited