pub fn complete_enrollment(
store: &CloudStore,
origin: &str,
enrollment: &EnrollmentV1,
keys_raw: &Value,
root: &[u8; 32],
label: &str,
local_now: UtcDateTime,
) -> Result<InstanceRecord, CloudError>Expand description
Verify an enrollment answer against the root key and persist it.