generateCertificate
inline suspend fun RTCPeerConnection.Companion.generateCertificate(keygenAlgorithm: Algorithm): RTCCertificate(source)
The generateCertificate()
static function of the RTCPeerConnection interface creates an X.509 certificate and corresponding private key, returning a promise that resolves with the new RTCCertificate once it's generated.
inline suspend fun RTCPeerConnection.Companion.generateCertificate(keygenAlgorithm: String): RTCCertificate(source)