Skip to main content

verify

Function verify 

Source
pub fn verify(
    lic: &DomainLicence,
    now_unix: u64,
    serving_domain: &str,
    required_scope: &str,
    pinned_issuer_pubkey_hex: Option<&str>,
    amendments: &[LicenceAmendment],
) -> Result<(), LicenceError>
Expand description

Full fail-closed verification of a licence for a serving domain + scope.