SignatureVerifier class abstract

Implementers

Constructors

SignatureVerifier()

Properties

hashCode int
The hash code for this object.
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
toString() String
A string representation of this object.
inherited
verify(Bytes message, Bytes signature, KeyMaterial publicKey) Future<bool>
Basic Ed25519 verification. Returns true if signature matches.
verifyBundle(SignedManifest manifest, Bytes signatureFile, String roleId) Future<bool>
Verifies a bundle / payload signature — selects the Root CA by roleId, then performs chain validation + Ed25519 verification. roleId is caller-defined (e.g. AppPlayer uses "marketplace" / "variant" / "license" / ...).
verifyChain(Bytes message, List<SignatureEntry> entries, String roleId, {Set<String>? requiredSignerRoleIds}) Future<bool>
Chained signatures (multi-signature). Validates the cert chain + Ed25519 for each signerRoleId. If requiredSignerRoleIds is given, entries must include all of them to pass.

Operators

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