Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.1 KB

metadata.md

File metadata and controls

27 lines (18 loc) · 1.1 KB

Metadata {#metadata}

Metadata can be used to inform optional properties that define the specific D-ASA implementation.

The D-ASA metadata MAY be set using the OPTIONAL set_asset_metadata method.

The D-ASA metadata MAY be updated using the OPTIONAL set_asset_metadata method.

Prospectus

Debt instruments are defined by their prospectus.

The D-ASA can notarize the debt instrument prospectus in the metadata.

The D-ASA prospectus hash (byte[32]) and prospectus URL (string) MAY be set using the OPTIONAL set_asset_metadata method.

The prospectus hash MUST be computed with SHA-512/256, as defined in NIST FIPS 180-4.

The digests are a single SHA-256 integrity metadata defined in the W3C subresource integrity specification. Details on generating those digests can be found on the MDN Web Docs (only SHA-256 is supported by this specification).