Skip to main content

Module codecs

Module codecs 

Source
Expand description

Credential transport codecs (from 0.0.19-g3-cbor-ld) — encode/decode a Credential to alternative carriers. Uses the unified Credential type from the parent module (the branch’s duplicate was dropped).

Structs§

OpenBadgeCodec
OpenBadges v3 carrier: adds the OB context + type, then JSON-encodes.
PdfCodec
PDF carrier: embeds the credential JSON as a /Metadata stream in a minimal PDF.

Enums§

CodecError

Traits§

CredentialCodec
Encode/decode a Verifiable Credential to/from a transport representation.