Key class abstract

Key

Properties:

  • identifier - The unique identifier of the shared key.
  • passphrase - The secure passphrase to protect the shared key. Must consist of: * At least 12 characters. * At least 1 uppercase letter: [A-Z]. * At least 1 lowercase letter: [a-z]. * At least 1 digit: [0-9]. * At least 1 special character. Limited to the following: ~, !, @, #, $, %, ^, &, *, (, ), _, +, =, }, {, ], [, ;, :, ?, ., ,, >, <.
  • version - The version number of the shared key.
Annotations
  • @BuiltValue.new()

Constructors

Key([void updates(KeyBuilder b)])
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
identifier → String?
The unique identifier of the shared key.
no setter
passphrase → String?
The secure passphrase to protect the shared key. Must consist of: * At least 12 characters. * At least 1 uppercase letter: [A-Z]. * At least 1 lowercase letter: [a-z]. * At least 1 digit: [0-9]. * At least 1 special character. Limited to the following: ~, !, @, #, $, %, ^, &, *, (, ), _, +, =, }, {, ], [, ;, :, ?, ., ,, >, <.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int?
The version number of the shared key.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(KeyBuilder)) → Key
Rebuilds the instance.
inherited
toBuilder() → KeyBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Key>
no setter