Package-level declarations

Types

Link copied to clipboard
data class DirectAccessDocumentConfiguration(val docType: String, val staticData: NameSpacedData)
Link copied to clipboard
sealed class EvidenceRequest

A request for evidence by the issuer.

Link copied to clipboard
data class EvidenceRequestCompletionMessage(val messageTitle: String, val message: String, val assets: Map<String, ByteString>, val acceptButtonText: String, val rejectButtonText: String?) : EvidenceRequest

Message shown after completing the Evidence-gathering steps for Provisioning a document.

Link copied to clipboard
data class EvidenceRequestCreatePassphrase(val passphraseConstraints: PassphraseConstraints, val message: String, val verifyMessage: String, val assets: Map<String, ByteString>) : EvidenceRequest

Evidence type for asking the user to create a PIN/passphrase.

Link copied to clipboard

Request pre-authorized code from the client. Pre-authorized code is given to a wallet app as a part of an OpenId4VCI credential offer.

Link copied to clipboard
data class EvidenceRequestIcaoNfcTunnel(val requestType: EvidenceRequestIcaoNfcTunnelType, val passThrough: Boolean, val progressPercent: Int, val message: ByteString) : EvidenceRequest

Evidence type for extracting data from an NFC-enabled passport or ID card through a tunneled NFC connection.

Link copied to clipboard

Types of EvidenceRequestIcaoTunnel messages.

Link copied to clipboard
data class EvidenceRequestIcaoPassiveAuthentication(val requestedDataGroups: List<Int>) : EvidenceRequest

Evidence type for the lowest authentication level of an NFC-enabled passport or ID card.

Link copied to clipboard
data class EvidenceRequestMessage(val message: String, val assets: Map<String, ByteString>, val acceptButtonText: String, val rejectButtonText: String?) : EvidenceRequest

Rich-text message presented to the user.

Link copied to clipboard
data class EvidenceRequestNotificationPermission(val permissionNotGrantedMessage: String, val assets: Map<String, ByteString>, val grantPermissionButtonText: String, val continueWithoutPermissionButtonText: String) : EvidenceRequest

A request to the user for permission to send notifications to them.

Link copied to clipboard
class EvidenceRequestOpenid4Vp(val originUri: String, val request: String, val cancelText: String? = null) : EvidenceRequest
Link copied to clipboard
data class EvidenceRequestQuestionMultipleChoice(val message: String, val assets: Map<String, ByteString>, val possibleValues: Map<String, String>, val acceptButtonText: String) : EvidenceRequest

Evidence type for asking a question to the user and collecting an answer from a predefined list.

Link copied to clipboard
data class EvidenceRequestQuestionString(val message: String, val assets: Map<String, ByteString>, val defaultValue: String, val acceptButtonText: String) : EvidenceRequest

Evidence type for asking a question to the user and collecting a textual response.

Link copied to clipboard
data class EvidenceRequestSetupCloudSecureArea(val cloudSecureAreaIdentifier: String, val passphraseConstraints: PassphraseConstraints, val message: String, val verifyMessage: String, val assets: Map<String, ByteString>) : EvidenceRequest

Evidence type for asking the user to select a PIN/passphrase for a Cloud Secure Area.

Link copied to clipboard
data class EvidenceRequestWeb(val url: String, val redirectUri: String) : EvidenceRequest

Launch a browser using the given URL.

Link copied to clipboard
sealed class EvidenceResponse

A response to an evidence request.

Link copied to clipboard
Link copied to clipboard

Provides OpenId4VCI credential offer data.

Link copied to clipboard
data class EvidenceResponseIcaoNfcTunnel(val response: ByteString) : EvidenceResponse
Link copied to clipboard
data class EvidenceResponseIcaoNfcTunnelResult(val advancedAuthenticationType: EvidenceResponseIcaoNfcTunnelResult.AdvancedAuthenticationType, val dataGroups: Map<Int, ByteString>, val securityObject: ByteString) : EvidenceResponse

Evidence type for that represents the result of communicating through the tunnel implemented by EvidenceRequestIcaoNfcTunnel requests and responses.

data class EvidenceResponseIcaoPassiveAuthentication(val dataGroups: Map<Int, ByteString>, val securityObject: ByteString) : EvidenceResponse
Link copied to clipboard
data class EvidenceResponseMessage(val acknowledged: Boolean) : EvidenceResponse
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class EvidenceResponseSetupCloudSecureArea(val cloudSecureAreaIdentifier: String) : EvidenceResponse
Link copied to clipboard
data class EvidenceResponseWeb(val response: String) : EvidenceResponse
Link copied to clipboard

Credential offer as described in OpenId4Vci spec: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-credential-offer-parameters

data class Openid4VciCredentialOfferAuthorizationCode(val issuerUri: String, val configurationId: String, val authorizationServer: String?, val issuerState: String?) : Openid4VciCredentialOffer

Credential offer with Grant Type authorization_code.

Link copied to clipboard
data class Openid4VciCredentialOfferGrantless(val issuerUri: String, val configurationId: String) : Openid4VciCredentialOffer

Credential offer that does not contain grants.

data class Openid4VciCredentialOfferPreauthorizedCode(val issuerUri: String, val configurationId: String, val authorizationServer: String?, val preauthorizedCode: String, val txCode: Openid4VciTxCode?) : Openid4VciCredentialOffer

Credential offer with Grant Type urn:ietf:params:oauth:grant-type:pre-authorized_code.

Link copied to clipboard
data class Openid4VciTxCode(val description: String, val isNumeric: Boolean, val length: Int)

Describes tx_code parameter (see OpenId4Vci spec referenced above).