MobileCredentialVerifier

The entry point for the MobileCredentialVerifier SDK.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Boolean status indicating whether the SDK instance is currently initialised or not.

Functions

Link copied to clipboard
@Blocking
fun addTrustedIssuerCertificates(certificates: List<String>): List<String>

Add a trusted issuer certificate to storage.

Link copied to clipboard
suspend fun createProximityPresentationSession(activity: Activity, encodedDeviceEngagementString: String, onSessionTerminated: ProximityPresentationSession.OnSessionTerminated? = null): ProximityPresentationSession

Create a proximity based presentation session with a mobile credential holder using ISO 18013-5 based DeviceRetrieval.

Link copied to clipboard

Delete a trusted issuer certificate from storage.

Link copied to clipboard

Get the current proximity presentation session.

Link copied to clipboard
@Blocking
fun getTrustedIssuerCertificates(): List<<Error class: unknown class>>

Retrieve all trusted issuer certificates from storage.

Link copied to clipboard
suspend fun initialise(activity: Activity)

Initialise the MobileCredentialVerifier SDK.

Link copied to clipboard

Validates the supplied string is a valid QR code based on device engagement structure (as per section 8.2.2.3 of ISO 18013-5).