SecRecord.GetValueRef<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.