Skip to main content

verify_license

Function verify_license 

Source
pub fn verify_license() -> Result<(), XmlError>
Expand description

Verify the license now, caching the result, and return an error if no valid, non-expired certificate is present.

Parsing performs this check lazily on first use regardless; calling this at program startup surfaces a missing or expired license immediately rather than at the first parse.