getCredential

@Blocking
fun getCredential(id: String, skipStatusCheck: Boolean = false): MobileCredential

Retrieve a specific mobile credential by id from storage.

Return

Store mobile credential corresponding to the supplied Id as an instance of MobileCredential

Parameters

id

The Id of the credential

Throws

If the SDK API is called before the SDK is initialised.

If there is an error in generating the metadata from the metadata record.

If the TrustedIssuerCertificate is not found.