Edit

Share via


SecRecord.GetValueRef<T> Method

Definition

Returns the associated Certificate, Identity, or Key stored in this record.

public T GetValueRef<T> () where T : class, ObjCRuntime.INativeObject;
member this.GetValueRef : unit -> 'T (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Type Parameters

T

The desired strong type of the value to get, one of SecCertificateSecIdentity or SecKey.

Returns

T

The return value, if present shoudl be one of the allowed types SecCertificateSecIdentity or SecKey.

Applies to