Package-level declarations

Types

Link copied to clipboard

Server-side support functionality for the wallet mobile app. This is needed even if the full-blown wallet server is not used.

Link copied to clipboard
interface Authentication

A flow used to authenticate Wallet client (app + device) to the server

Link copied to clipboard
data class ClientAuthentication(val attestation: DeviceAttestation?, val assertion: DeviceAssertion, val walletApplicationCapabilities: WalletApplicationCapabilities)

An data structure sent from the Wallet Application to the Wallet Server used to prove that it is the legitimate instance for clientId.

Link copied to clipboard
data class ClientChallenge(val nonce: ByteString, val clientId: String)
Link copied to clipboard
data class CredentialConfiguration(val challenge: ByteString, val keyAssertionRequired: Boolean, val secureAreaConfiguration: SecureAreaConfiguration)

The configuration to use when creating new credentials.

Link copied to clipboard
data class CredentialData(val secureAreaBoundKey: EcPublicKey?, val validFrom: Instant, val validUntil: Instant, val format: CredentialFormat, val data: ByteArray)

This data structure contains a data for a credential, minted by the issuer.

Link copied to clipboard

An enumeration of Credential Formats that an issuer may support.

Link copied to clipboard
data class CredentialRequest(val secureAreaBoundKeyAttestation: KeyAttestation)

A request for the issuer to mint a credential

Link copied to clipboard

An enumeration of possible conditions a document can be in, from the issuer's perspective.

Link copied to clipboard
data class DocumentConfiguration(val displayName: String, val typeDisplayName: String, val cardArt: ByteArray, val requireUserAuthenticationToViewDocument: Boolean, val mdocConfiguration: MdocDocumentConfiguration?, val sdJwtVcDocumentConfiguration: SdJwtVcDocumentConfiguration?, val directAccessConfiguration: DirectAccessDocumentConfiguration?)

The configuration data for a specific document.

Link copied to clipboard
data class DocumentState(val timestamp: Instant, val condition: DocumentCondition, val numPendingCredentials: Int, val numAvailableCredentials: Int)

The state of a document, as seen from the issuer's point of view.

Link copied to clipboard

An interface representing an Issuing Authority.

Link copied to clipboard
data class IssuingAuthorityConfiguration(val identifier: String, val issuingAuthorityName: String, val issuingAuthorityLogo: ByteArray, val issuingAuthorityDescription: String, val pendingDocumentInformation: DocumentConfiguration, val numberOfCredentialsToRequest: Int?, val minCredentialValidityMillis: Long?, val maxUsesPerCredentials: Int?)

Configuration data for the issuing authority.

Link copied to clipboard

Represents a generic error in issuer with the human-readable message.

Link copied to clipboard
data class IssuingAuthorityNotification(val documentId: String)

A data structure for capturing notification data emitted by the IssuingAuthority.

Link copied to clipboard
data class KeyPossessionChallenge(val messageToSign: ByteString)
Link copied to clipboard
data class KeyPossessionProof(val signature: ByteString)
Link copied to clipboard
class LandingUrlNotification(val baseUrl: String)
Link copied to clipboard
Link copied to clipboard
data class MdocDocumentConfiguration(val docType: String, val staticData: NameSpacedData)
Link copied to clipboard
interface Proofing

A flow used for identifying and proofing an application.

Link copied to clipboard
Link copied to clipboard
data class ProvisioningBackendCapabilities(val generatedAt: Instant)

Information about the capabilities of the wallet server, for the wallet application.

Link copied to clipboard

Wallet Server settings.

Link copied to clipboard
interface Registration

A flow used to create a new document.

Link copied to clipboard
data class RegistrationConfiguration(val documentId: String)

Issuer-specified configuration used when registering a new document.

Link copied to clipboard
data class RegistrationResponse(val developerModeEnabled: Boolean)

The response from the application when registering a new document.

Link copied to clipboard

A flow used to request new credentials.

Link copied to clipboard
data class SdJwtVcDocumentConfiguration(val vct: String, val keyBound: Boolean?)
Link copied to clipboard
data class WalletApplicationCapabilities(val generatedAt: Instant, val androidKeystoreAttestKeyAvailable: Boolean, val androidKeystoreStrongBoxAvailable: Boolean, val androidIsEmulator: Boolean, val directAccessSupported: Boolean)

Information about the capabilities of the wallet application, for the wallet server.