Skip to content

REFACTOR: Decouple credential card view (list, offer, proof) from OCA #1437

@timbl-ont

Description

@timbl-ont

The current card views are dependent on OCA and the Aries OCA style guide that is driven via display metadata encoded in the OCA package. This approach is well ahead of where other specifications are currently at.

There are a number of other display metadata (SD-JWT-VC, OID4VCI) and rendering solutions such as SVG or even PDF that do not align directly with the current design. There is overlap but also gaps including image_slice and overlay attributes. This was a particular challenge in adding openid4vc to the wallet without adding non-standard metadata attributes (openid4vci draft 15).

The goal of the refactoring is to make it easier to support different rendering models without changing current behaviour. See the attached diagram that tries to capture the current state of credential rendering.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions