Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class PresentationRequestData(val document: Document, val documentRequest: DocumentRequest, val docType: String, val trustPoint: TrustPoint?)

Contains data produced after starting to process a Presentation request. The user is then faced with one or more prompts (consent, biometric, etc..) and upon accepting them, this PresentationRequestData object is used to finish processing the request and ultimately produce the response data to send to the party who initiated the Presentation.

Link copied to clipboard
class TransferHelper(settingsModel: SettingsModel, documentStore: DocumentStore, trustManager: TrustManager, context: Context, deviceRetrievalHelper: DeviceRetrievalHelper, onError: (Throwable) -> Unit)

Transfer Helper provides helper functions for starting to process a presentation request, as well as finishing processing the request to get response bytes to send to requesting party (after user has accepted one or more dialog prompts)

Properties

Link copied to clipboard
Link copied to clipboard
const val TAG: String

Functions

Link copied to clipboard
suspend fun showMdocPresentmentFlow(activity: FragmentActivity, request: MdocRequest, trustPoint: TrustPoint?, document: ConsentDocument, credential: MdocCredential, encodedSessionTranscript: ByteArray): ByteArray
Link copied to clipboard
suspend fun showSdJwtPresentmentFlow(activity: FragmentActivity, request: JsonRequest, trustPoint: TrustPoint?, document: ConsentDocument, credential: Credential, nonce: String, clientId: String): ByteArray