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

WellKnownTester()

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/cli src/commands/verify.js: v1 applinks details[].appID/details[].appIDs[] plus the legacy applinks.apps[].
extractAssetlinksApps(dynamic json) List<AssetlinksApp>
Collect the {package, fingerprints} entries from an assetlinks.json file. Mirrors the Node assetlinksApps() in src/commands/verify.js.
normalizeFingerprint(String s) String
Canonicalize a SHA-256 fingerprint for comparison: drop : separators and lower-case. Mirrors normFp() in the Node src/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