public Classes.RTCCertificate GenerateCertificate(EncryptionKeyType keyType, long expires) { return(RTCCertificate.GenerateCertificateWithParams(new NSDictionary <NSString, NSObject>( new[] { "expires".ToNative(), "name".ToNative() }, new NSObject[] { new NSNumber(expires), keyType.ToStringNative() } )).ToNet()); }
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()); }