pub fn is_success(status_code: &str) -> bool
Expand description
Returns true
if the status code is a known C2PA success status code.
Returns false
if the status code is a known C2PA failure status
code or is unknown.
ยงExamples
use c2pa_status_tracker::validation_codes::*;
assert!(is_success(CLAIM_SIGNATURE_VALIDATED));
assert!(!is_success(SIGNING_CREDENTIAL_REVOKED));