public Core.RTCCertificate CreateCertificate(EncryptionKeyType encryptionKeyType, long expiries) { return(RTCCertificate.GenerateCertificateWithParams(new NSDictionary <NSString, NSObject>(new[] { "expires".ToPlatformNative(), "name".ToPlatformNative() }, new NSObject[] { new NSNumber(expiries), encryptionKeyType.ToStringNative() })).ToNativePort()); }
public Abstraction.RTCCertificate GenerateCertificate(EncryptionKeyType keyType, long expires) { return(WebRTC.iOS.Binding.RTCCertificate.GenerateCertificateWithParams(new NSDictionary <NSString, NSObject>( new[] { "expires".ToNative(), "name".ToNative() }, new NSObject[] { new NSNumber(expires), keyType.ToStringNative() } )).ToNet()); }