#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_audit_verifier_new(
public_key: *const u8,
) -> *mut PamojaAuditVerifierExpand description
Creates a verifier that checks a chain signed by one public key.
§Arguments
public_key- thePAMOJA_KEY_LEN-byte key the entries were signed with.
§Returns
A handle the caller must release with pamoja_audit_verifier_free, or null
if the key is not a valid public key.
§Safety
public_key must point to at least PAMOJA_KEY_LEN readable bytes.