Package io.jans.fido2.service.readiness
Class ExpectedAssociationFileBuilder
java.lang.Object
io.jans.fido2.service.readiness.ExpectedAssociationFileBuilder
The one definition of what a relying party's association files should contain, built from its
RequestedParty. Pure: no I/O, no configuration access, nothing is served.
Shape: one assetlinks.json statement per AndroidApp, carrying all of that app's
fingerprints, with the delegate_permission/common.get_login_creds relation; and an
apple-app-site-association with webcredentials.apps entries of the form
TeamID.BundleID. The readiness checker compares deployed files against this, and serving the files
should reuse it so the two cannot disagree.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.JsonNodeThe expectedapple-app-site-association: a JSON object withwebcredentials.apps.static com.fasterxml.jackson.databind.node.ArrayNodeassetLinks(RequestedParty party) The expectedassetlinks.json: a JSON array with one statement per configured Android app.static StringTeamID.BundleID.static StringnormalizeFingerprint(String fingerprint) Upper-case colon-separated hex, whatever the input style (with or without colons, any case), ornullunless the input is whole hex bytes, optionally colon-separated between bytes.
-
Field Details
-
LOGIN_CREDS_RELATION
- See Also:
-
-
Method Details
-
assetLinks
The expectedassetlinks.json: a JSON array with one statement per configured Android app. -
appleAppSiteAssociation
The expectedapple-app-site-association: a JSON object withwebcredentials.apps. -
iosAppId
TeamID.BundleID. -
normalizeFingerprint
Upper-case colon-separated hex, whatever the input style (with or without colons, any case), ornullunless the input is whole hex bytes, optionally colon-separated between bytes.
-