Skip to main content

integrity_proofs

Function integrity_proofs 

Source
pub fn integrity_proofs(
    document: &Value,
    now: i64,
) -> Vec<(Map<String, Value>, Cryptosuite, String)>
Expand description

Every usable assertion-method integrity proof on document, in order, as extract_integrity_proof returns one. A document may carry several, in different suites or by different keys, and one that does not verify says nothing about the others.