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.4.3"
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/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` (and legacy `vc+sd-jwt`) media types, 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` (and legacy `vc+sd-jwt`) media types, 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/). |
|
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/eudi_sdjwt_dcql
Package eudi_sdjwt_dcql implements a DcqlCredentialQueryHandler for SD-JWT-VC credentials stored in the eudi SQLite storage (issued via OpenID4VCI).
|
Package eudi_sdjwt_dcql implements a DcqlCredentialQueryHandler for SD-JWT-VC credentials stored in the eudi SQLite storage (issued via OpenID4VCI). |
|
openid4vp/mdoc_dcql
Package mdoc_dcql implements a DcqlCredentialQueryHandler for mso_mdoc credentials stored in the wallet's mdoc tables (issued via OpenID4VCI), mirroring eudi_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 eudi_sdjwt_dcql for the mdoc format. |
|
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. |
|
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. |