TrustMetadata

data class TrustMetadata(val displayName: String? = null, val displayIcon: ByteString? = null, val privacyPolicyUrl: String? = null, val testOnly: Boolean = false)

Metadata about entity that can be trusted.

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.

Constructors

Link copied to clipboard
constructor(displayName: String? = null, displayIcon: ByteString? = null, privacyPolicyUrl: String? = null, testOnly: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val displayIcon: ByteString? = null
Link copied to clipboard
val displayName: String? = null
Link copied to clipboard
Link copied to clipboard
val testOnly: Boolean = false