pub fn seal_envelope(
grants: &GrantTable,
label: &VerifiedLabel,
projection: StrongDigest,
purpose: StrongDigest,
expires_unix: u64,
ciphertext: &[u8],
outcome: PolicyOutcome,
patient_contact: ContactState,
clinician_contact: ContactState,
now_unix: u64,
) -> Result<PayloadEnvelope, QdnfError>Expand description
Seal ciphertext under a verified label and the actual grant recipients.