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());
 }
예제 #2
0
 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());
 }