WellKnownTester class
Tester for well-known files (AASA and Asset Links).
The instance verdict methods (testAasaFile / testAssetLinksFile) back
the credentialed project-config verify flow. The pure static extractors
below (extractAasaAppIds / extractAssetlinksApps / normalizeFingerprint)
are the shared, single-source-of-truth parsing primitives reused by the
standalone verify --domain command (see DomainVerifyCommand), so the
AASA/assetlinks shape is only understood in one place.
Constructors
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
extractAasaAppIds(
Map< String, dynamic> ? json) → List<String> -
Collect every iOS App ID declared in an AASA file. Mirrors the Node
aasaAppIds()in@ulink/clisrc/commands/verify.js: v1applinksdetails[].appID/details[].appIDs[]plus the legacyapplinks.apps[]. -
extractAssetlinksApps(
dynamic json) → List< AssetlinksApp> -
Collect the
{package, fingerprints}entries from anassetlinks.jsonfile. Mirrors the NodeassetlinksApps()insrc/commands/verify.js. -
normalizeFingerprint(
String s) → String -
Canonicalize a SHA-256 fingerprint for comparison: drop
:separators and lower-case. MirrorsnormFp()in the Nodesrc/commands/verify.js. -
testAasaFile(
String domain, String? teamId, String? bundleIdentifier) → Future< VerificationResult> - Test Apple App Site Association (AASA) file
-
testAssetLinksFile(
String domain, String? packageName, List< String> ? sha256Fingerprints) → Future<VerificationResult> - Test Android Asset Links JSON file