AuthorizationCreateFromExternalForm

Function AuthorizationCreateFromExternalForm 

Source
pub unsafe extern "C-unwind" fn AuthorizationCreateFromExternalForm(
    ext_form: NonNull<AuthorizationExternalForm>,
    authorization: NonNull<AuthorizationRef>,
) -> i32
Available on crate feature Authorization only.
Expand description

Internalize the external “byte blob” form of an authorization reference.

Parameter extForm: Pointer to an AuthorizationExternalForm value.

Parameter authorization: Will be filled with a valid AuthorizationRef on success.

Returns: errAuthorizationInternalizeNotAllowed -60010 Internalizing this authorization is not allowed.

§Safety

  • ext_form must be a valid pointer.
  • authorization must be a valid pointer.