Beispiel #1
0
 public RTCCertificate GenerateCertificate(EncryptionKeyType keyType, long expires) => RtcCertificatePem.GenerateCertificate(keyType.ToNative(), expires).ToNet();
Beispiel #2
0
 public static RTCCertificate ToNet(this RtcCertificatePem self) =>
 new RTCCertificate(self.PrivateKey, self.Certificate);