Package-level declarations

Types

Link copied to clipboard

Interface to manage Document and Credential instances during provisioning.

Link copied to clipboard

Describes a particular way to authorize the user to provision a credential.

Link copied to clipboard
class AuthorizationException(val code: String, val description: String?) : Exception

Thrown when authorization failed permanently.

Link copied to clipboard

Describes a result of a particular way to authorize the user.

Link copied to clipboard
data class CredentialCertification(val credentialId: String, val issuerData: ByteString)

Data necessary to certify a credential during provisioning.

Link copied to clipboard
sealed class CredentialFormat

Describes a format of a credential.

Link copied to clipboard
class CredentialKeyAttestation(val credentialId: String, val keyAttestation: KeyAttestation)

Public key id and its attestation.

Link copied to clipboard
data class CredentialMetadata(val display: Display, val format: CredentialFormat, val keyBindingType: KeyBindingType, val maxBatchSize: Int)

Metadata for a particular type of credential that an issuer can provision.

Link copied to clipboard
data class Credentials(val certifications: List<CredentialCertification>, val display: Display?)

Provisioned credentials and optional credential metadata.

Link copied to clipboard
class Display(val text: String, val logo: ByteString?)

Describes something in the user-facing manner.

Link copied to clipboard
class DocumentProvisioningHandler(val secureArea: SecureArea, val documentStore: DocumentStore, val mdocCredentialDomain: String = "mdoc_user_auth", val sdJwtCredentialDomain: String = "sdjwt_user_auth", val keylessCredentialDomain: String = "sdjwt_keyless", val batchSize: Int = 3, val metadataHandler: DocumentProvisioningHandler.AbstractDocumentMetadataHandler? = null) : AbstractDocumentProvisioningHandler

Implementation of AbstractDocumentMetadataHandler suitable for most uses.

Link copied to clipboard
sealed class KeyBindingInfo

Provides keys to which credentials are to be bound and key proofing information.

Link copied to clipboard
sealed class KeyBindingType

Type of KeyBindingInfo that credential issuer expects in ProvisioningClient.obtainCredentials call.

Link copied to clipboard

Indicates that a key in SecureArea should be unlocked to generate proof-of-possession in a provisioning workflow.

Link copied to clipboard

Object that dispatches general provisioning-related operations to correct protocol handlers (for Multipaz-implemented protocols).

Link copied to clipboard

Interface to provision credentials, typically from a server (such as OpenId4Vci server).

Link copied to clipboard
data class ProvisioningMetadata(val display: Display, val credentials: Map<String, CredentialMetadata>)

Credential issuer metadata.

Link copied to clipboard
class ProvisioningModel(documentProvisioningHandler: AbstractDocumentProvisioningHandler, httpClient: HttpClient, promptModel: PromptModel, authorizationSecureArea: SecureArea)

This model supports UX/UI flow for provisioning of credentials.

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

Describes secret text that user needs to enter.

Properties

Link copied to clipboard
Link copied to clipboard
val Mdoc_cborSchemaId: ByteString
Link copied to clipboard
val SdJwt_cborSchemaId: ByteString
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard