MobileCredentialVerifier

class MobileCredentialVerifier : SdkLifecycle

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
val initialised: Boolean

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
@Blocking
fun deleteTrustedIssuerCertificate(id: String)

Delete a trusted issuer certificate from storage.

Link copied to clipboard

Get the current proximity presentation session.

Link copied to clipboard
fun getLog(): String?

Close and return the full address of the current log file.

Link copied to clipboard

Retrieve all trusted issuer certificates from storage.

Link copied to clipboard

Get current revocation status lists cache information without updating the status lists.

Link copied to clipboard
suspend fun initialise(activity: Activity, loggerConfiguration: Logger.LoggerConfiguration? = null)

Initialise the MobileCredentialVerifier SDK.

Link copied to clipboard
fun isValidDeviceEngagementString(data: String): Boolean

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).

Link copied to clipboard

Update trusted issuer status lists.