Documentation
¶
Overview ¶
Package irma contains generic IRMA strucs and logic of use to all IRMA participants. It parses irma_configuration folders to scheme managers, issuers, credential types and public keys; it contains various messages from the IRMA protocol; it parses IRMA metadata attributes; and it contains attribute and credential verification logic.
Index ¶
Constants ¶
const Version = "1.5.0"
Version of the IRMA command line and libraries
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
common
|
|
|
credentials/bitstringstatus
Package bitstringstatus implements holder-side checking of W3C Bitstring Status List v1.0 (https://www.w3.org/TR/vc-bitstring-status-list/), the status mechanism used by the JSON-LD / VCDM 2.0 world.
|
Package bitstringstatus implements holder-side checking of W3C Bitstring Status List v1.0 (https://www.w3.org/TR/vc-bitstring-status-list/), the status mechanism used by the JSON-LD / VCDM 2.0 world. |
|
credentials/sdjwtvc
Package sdjwtvc implements the SD-JWT VC (SD-JWT-based Verifiable Credential) format from draft-ietf-oauth-sd-jwt-vc, layered on top of eudi/sdjwt's SD-JWT core: `vct`, `vct#integrity`, the `dc+sd-jwt` media type, issuer identification via the `x5c` certificate chain and `iss`, the `status` claim, and the SdJwtVcBuilder/verification-processor policy that enforces them.
|
Package sdjwtvc implements the SD-JWT VC (SD-JWT-based Verifiable Credential) format from draft-ietf-oauth-sd-jwt-vc, layered on top of eudi/sdjwt's SD-JWT core: `vct`, `vct#integrity`, the `dc+sd-jwt` media type, issuer identification via the `x5c` certificate chain and `iss`, the `status` claim, and the SdJwtVcBuilder/verification-processor policy that enforces them. |
|
credentials/sdjwtvc/typemetadata
Package typemetadata fetches SD-JWT VC Type Metadata documents and OpenID4VCI issuer metadata documents needed to describe a credential type whose issuer the wallet has never seen.
|
Package typemetadata fetches SD-JWT VC Type Metadata documents and OpenID4VCI issuer metadata documents needed to describe a credential type whose issuer the wallet has never seen. |
|
credentials/statuslist
Package statuslist implements client-side support for the IETF OAuth Token Status List specification, draft-ietf-oauth-status-list-15 (https://datatracker.ietf.org/doc/draft-ietf-oauth-status-list/15/).
|
Package statuslist implements client-side support for the IETF OAuth Token Status List specification, draft-ietf-oauth-status-list-15 (https://datatracker.ietf.org/doc/draft-ietf-oauth-status-list/15/). |
|
credentials/vcdm
Package vcdm implements the W3C Verifiable Credentials Data Model 2.0 (https://www.w3.org/TR/vc-data-model-2.0/, REC 2025-05-15) as a wallet/holder must understand it: the base `@context`, the `type` discriminator, `issuer`, `credentialSubject`, the `validFrom`/`validUntil` validity period, and the typed extension points (`credentialStatus`, `credentialSchema`, `termsOfUse`, `evidence`, `refreshService`).
|
Package vcdm implements the W3C Verifiable Credentials Data Model 2.0 (https://www.w3.org/TR/vc-data-model-2.0/, REC 2025-05-15) as a wallet/holder must understand it: the base `@context`, the `type` discriminator, `issuer`, `credentialSubject`, the `validFrom`/`validUntil` validity period, and the typed extension points (`credentialStatus`, `credentialSchema`, `termsOfUse`, `evidence`, `refreshService`). |
|
credentials/vcdmsdjwt
Package vcdmsdjwt implements the SD-JWT-secured W3C VCDM 2.0 credential (VC-JOSE-COSE §3.2, https://www.w3.org/TR/vc-jose-cose/): milestone M1 of the VCDM effort.
|
Package vcdmsdjwt implements the SD-JWT-secured W3C VCDM 2.0 credential (VC-JOSE-COSE §3.2, https://www.w3.org/TR/vc-jose-cose/): milestone M1 of the VCDM effort. |
|
credentials/vcdmstatus
Package vcdmstatus reads and checks the status of a W3C VCDM credential, whatever secures it: the W3C Bitstring Status List entries in its credentialStatus, and the IETF Token Status List reference a JWT-secured credential can carry in its status claim.
|
Package vcdmstatus reads and checks the status of a W3C VCDM credential, whatever secures it: the W3C Bitstring Status List entries in its credentialStatus, and the IETF Token Status List reference a JWT-secured credential can carry in its status claim. |
|
didkey
Package didkey implements the did:key DID method (https://w3c-ccg.github.io/did-key-spec/), which encodes a public key directly in the DID, so no network resolution is needed to obtain it.
|
Package didkey implements the did:key DID method (https://w3c-ccg.github.io/did-key-spec/), which encodes a public key directly in the DID, so no network resolution is needed to obtain it. |
|
openid4vp/mdoc_dcql
Package mdoc_dcql implements a DcqlCredentialQueryHandler for mso_mdoc credentials stored in the wallet's mdoc tables (issued via OpenID4VCI), mirroring sdjwt_dcql for the mdoc format.
|
Package mdoc_dcql implements a DcqlCredentialQueryHandler for mso_mdoc credentials stored in the wallet's mdoc tables (issued via OpenID4VCI), mirroring sdjwt_dcql for the mdoc format. |
|
openid4vp/sdjwt_dcql
Package sdjwt_dcql is the data-model-agnostic engine behind the wallet's SD-JWT-secured DCQL query handlers.
|
Package sdjwt_dcql is the data-model-agnostic engine behind the wallet's SD-JWT-secured DCQL query handlers. |
|
openid4vp/sdjwt_dcqltest
Package sdjwt_dcqltest provides shared test scaffolding for the SD-JWT DCQL engine and its per-format handlers: an in-memory SQLCipher store, a batch builder, a DCQL query parser, and a claim-path assertion helper.
|
Package sdjwt_dcqltest provides shared test scaffolding for the SD-JWT DCQL engine and its per-format handlers: an in-memory SQLCipher store, a batch builder, a DCQL query parser, and a claim-path assertion helper. |
|
openid4vp/sdjwtvc_dcql
Package sdjwtvc_dcql is the DCQL query handler for IETF SD-JWT VC (dc+sd-jwt) credentials in the eudi SQLite storage (issued via OpenID4VCI).
|
Package sdjwtvc_dcql is the DCQL query handler for IETF SD-JWT VC (dc+sd-jwt) credentials in the eudi SQLite storage (issued via OpenID4VCI). |
|
openid4vp/sdjwtvcdm_dcql
Package sdjwtvcdm_dcql is the DCQL query handler for SD-JWT-secured W3C VCDM 2.0 (vc+sd-jwt) credentials in the eudi SQLite storage.
|
Package sdjwtvcdm_dcql is the DCQL query handler for SD-JWT-secured W3C VCDM 2.0 (vc+sd-jwt) credentials in the eudi SQLite storage. |
|
sdjwt
Package sdjwt implements the core SD-JWT format from draft-ietf-oauth-selective-disclosure-jwt: salted disclosures, the `_sd`/`_sd_alg` digest mechanism, the `~`-separated compact serialization, the claim-tree Builder, and the Key Binding JWT (KB-JWT) with its `cnf` confirmation-key mechanism.
|
Package sdjwt implements the core SD-JWT format from draft-ietf-oauth-selective-disclosure-jwt: salted disclosures, the `_sd`/`_sd_alg` digest mechanism, the `~`-separated compact serialization, the claim-tree Builder, and the Key Binding JWT (KB-JWT) with its `cnf` confirmation-key mechanism. |
|
sdjwt/sdjwttest
Package sdjwttest holds SD-JWT test fixtures that need the irmago/testdata module (fixed test keys).
|
Package sdjwttest holds SD-JWT test fixtures that need the irmago/testdata module (fixed test keys). |
|
storage/sqlcipherstorage
Package sqlcipherstorage constructs the EUDI holder storage backed by an sqlcipher-encrypted SQLite database (the wallet-on-a-device deployment).
|
Package sqlcipherstorage constructs the EUDI holder storage backed by an sqlcipher-encrypted SQLite database (the wallet-on-a-device deployment). |
|
internal
|
|
|
test
Package test contains functionality that should be available to all unit tests (which live in separate packages).
|
Package test contains functionality that should be available to all unit tests (which live in separate packages). |
|
irmaclient
Package irmaclient implements an IRMA client, that can manage and use IRMA attributes.
|
Package irmaclient implements an IRMA client, that can manage and use IRMA attributes. |
|
server/irmac
command
Required to be main when building a shared library
|
Required to be main when building a shared library |
|
server/irmaserver
Package irmaserver is a library that allows IRMA verifiers, issuers or attribute-based signature applications to perform IRMA sessions with irmaclient instances (i.e.
|
Package irmaserver is a library that allows IRMA verifiers, issuers or attribute-based signature applications to perform IRMA sessions with irmaclient instances (i.e. |
|
server/requestorserver
Package requestorserver is a server allowing IRMA verifiers, issuers or attribute-based signature applications (the requestor) to perform IRMA sessions with irmaclient instances (i.e.
|
Package requestorserver is a server allowing IRMA verifiers, issuers or attribute-based signature applications (the requestor) to perform IRMA sessions with irmaclient instances (i.e. |
|
server/usage
Package usage counts IRMA sessions that reach a final status and reports those counts to the Yivi Portal.
|
Package usage counts IRMA sessions that reach a final status and reports those counts to the Yivi Portal. |
|
server/usage/usagetest
Package usagetest provides a fake Yivi Portal usage API for tests.
|
Package usagetest provides a fake Yivi Portal usage API for tests. |
|
cli/eudicli/mdoc-decode
command
The decoding half of this command: it structurally decodes the CBOR that eudi/credentials/mdoc produces — issuerAuth, deviceAuth, a presented mdoc, a whole DeviceResponse — and prints what is inside it.
|
The decoding half of this command: it structurally decodes the CBOR that eudi/credentials/mdoc produces — issuerAuth, deviceAuth, a presented mdoc, a whole DeviceResponse — and prints what is inside it. |
|
cli/eudicli/vptoken-decode
command
vptoken-decode inspects an OpenID4VP vp_token containing mso_mdoc presentations and prints, per credential and per document, what was actually disclosed and who signed it.
|
vptoken-decode inspects an OpenID4VP vp_token containing mso_mdoc presentations and prints, per credential and per document, what was actually disclosed and who signed it. |