Contents

GSSCredentialGetLifetime(_:)

Returns the remaining time in seconds before the credential expires.

Declaration

func GSSCredentialGetLifetime(_ cred: gss_cred_id_t) -> OM_uint32

Parameters

  • cred:

    The credential to inspect.

Return Value

The time in seconds that the credential has before it expires. The time is 0 if the call fails, or GSS_C_INDEFINITE if the credential never expires.

See Also

Inquiries