Skip to main content

@triveria/wallet / Exports / WmpEvidenceRecord

Interface: WmpEvidenceRecord

A record of the evidence repository: the fields of WMP evidence §6.2, plus the record's direction, session, verification and acknowledgement.

Table of contents​

Properties​

Properties​

ack_at​

• Optional ack_at: string

Defined in​

api.ts:2760


ack_status​

• Optional ack_status: string

The counterparty's wmp.evidence.ack status (accepted, rejected or stored), if any.

Defined in​

api.ts:2759


direction​

• direction: WmpEvidenceRecordDirectionEnum

Defined in​

api.ts:2748


entity_id​

• entity_id: string

Defined in​

api.ts:2750


event_time​

• event_time: string

Defined in​

api.ts:2733


event_type​

• event_type: string

Defined in​

api.ts:2732


evidence​

• evidence: Object

The evidence object (WMP evidence §4.2).

Index signature​

▪ [key: string]: any

Defined in​

api.ts:2747


evidence_id​

• evidence_id: string

Defined in​

api.ts:2731


issuer​

• Optional issuer: string

The wmp.sender of the evidence notification, its generator.

Defined in​

api.ts:2754


original_content_hash​

• original_content_hash: WmpEvidenceHash

Defined in​

api.ts:2735


original_message_id​

• original_message_id: string

Defined in​

api.ts:2734


retain_until​

• retain_until: string

Defined in​

api.ts:2761


session_id​

• session_id: string

Defined in​

api.ts:2749


signed_evidence​

• Optional signed_evidence: string

base64url of the flattened JWS JSON serialisation (RFC 7515 §7.2.2) of the evidence notification: the detached signature's protected header and signature with its unencoded payload (RFC 7797, the JCS-canonical content). The compact serialisation cannot carry an unencoded payload that contains a period.

Defined in​

api.ts:2739


timestamp_token​

• Optional timestamp_token: string

base64url RFC 3161 timestamp token over the same payload.

Defined in​

api.ts:2743


verification​

• Optional verification: WmpEvidenceVerification

Defined in​

api.ts:2755