MidiNetworkMidi2InvitationWithAuthentication class final
Invitation with Authentication (0x02): a client answers a challenge with the digest of the nonce and the shared secret.
- Inheritance
-
- Object
- MidiNetworkMidi2Command
- MidiNetworkMidi2InvitationWithAuthentication
Constructors
-
MidiNetworkMidi2InvitationWithAuthentication({required List<
int> digest}) -
Creates the invitation from a copy of the 32-byte SHA-256
digest.
Properties
- code → int
-
The command code.
no setteroverride
- commandSpecificData → int
-
The 16 bits of command specific data in the header.
no setterinherited
- digest → Uint8List
-
The SHA-256 digest of the nonce followed by the shared secret.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → int
-
The header word of the command packet.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
) → Uint8List -
Returns the command packet: the header word and the payload.
inherited
-
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
Constants
- commandCode → const int
- The command code, 0x02.