SecCertificate.GetPublicKey Method

Definition

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetKey' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetKey' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetKey' instead.")]
public Security.SecKey GetPublicKey ();
public Security.SecKey GetPublicKey ();
member this.GetPublicKey : unit -> Security.SecKey

Returns

The return type is SecKey on iOS and NSData on MacOS.

Attributes

Applies to