Share via


SecCertificate.GetPublicKey 方法

定义

[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

返回

返回类型在 SecKey iOS 上和 NSData MacOS 上。

属性

适用于