Example #1
0
 public DtlsSrtpClient(X509Certificate2 certificate) :
     this(DtlsUtils.LoadCertificateChain(certificate), DtlsUtils.LoadPrivateKeyResource(certificate))
 {
 }
Example #2
0
 public DtlsSrtpClient(string[] certificatesPath, string keyPath) :
     this(DtlsUtils.LoadCertificateChain(certificatesPath), DtlsUtils.LoadPrivateKeyResource(keyPath))
 {
 }
Example #3
0
 public DtlsSrtpServer(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) : this(DtlsUtils.LoadCertificateChain(certificate), DtlsUtils.LoadPrivateKeyResource(certificate))
 {
 }