VerificationConsumer class abstract
A typed StreamConsumer, which is used to verify a signature from a stream of data.
See Sign.createVerifyConsumer for more details.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signatureValid
→ Future<
bool> -
A future that resolves to the signature validation of the data.
no setter
Methods
-
add(
Uint8List data) → void -
Adds
data
to the sink.inherited -
addStream(
Stream< Uint8List> stream) → Future -
Consumes the elements of
stream
.inherited -
close(
) → Future< bool> -
Closes the consumer and verifies the signature.
override
-
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