Skip to main content

parse_delivery_confirmation_json

Function parse_delivery_confirmation_json 

Source
pub fn parse_delivery_confirmation_json(
    json: &str,
) -> Result<DeliveryConfirmation>
Expand description

Parse a version-1 Delivery Confirmation, rejecting malformed wire data.

A valid confirmation must still be matched to its authenticated sender, original Event ID, and exact payload hash by the caller before use.