Contents

GSSCreateCredentialFromUUID(_:)

Creates a credential from a universally unique identifier.

Declaration

func GSSCreateCredentialFromUUID(_ uuid: CFUUID) -> gss_cred_id_t?

Parameters

  • uuid:

    The universally unique identifier of the credential to fetch.

Return Value

A GSS credential for a given CF``UUID object if the credential exists, otherwise NULL. Free the credential’s memory with gss_release_cred(_:_:) when you are done with it.

Discussion

Use this function to get the credential corresponding to a CFUUID object that you originally obtained using a call to GSSCredentialCopyUUID(_:).

See Also

Allocation and Deallocation