TrustMetadata
constructor(displayName: String? = null, displayIcon: ByteString? = null, privacyPolicyUrl: String? = null, testOnly: Boolean = false, extensions: Map<String, String> = emptyMap())
Parameters
displayName
a name suitable to display to the end user, for example "Utopia Brewery", "Utopia-E-Mart", or "Utopia DMV". This should be kept short as it may be used in for example consent or verification dialogs.
displayIcon
an icon suitable to display to the end user in a consent or verification dialog. PNG format is expected, transparency is supported and square aspect ratio is preferred.
privacyPolicyUrl
an URL to the trusted entity's privacy policy or null
.
testOnly
true
if this trusted entity is used for testing, false
if not. Applications may use this if they support importing test certificates / VICALs and wish to convey in the user interface that the particular reader or issuer being authenticated is used only for testing.
extensions
additional metadata which can be used by the application.