Skip to content

Unsupported algorithm on RTCDtlsTransport.start #752

Closed
@lgrahl

Description

@lgrahl

In the RTCDtlsTransport.start method, the implementation should check whether the fingerprint algorithm is supported and raise an appropriate exception.

For example, implementations may decide to not support SHA-1 but that does not make the DTLS parameters invalid. So, I don't think InvalidParameters is what we want to raise. My proposal would be NotSupportedError as it is also used in RTCCertificate.generateCertificate and in the Web Cryptography API for that purpose.

Related tweet from @ibc: https://twitter.com/ibc_tw/status/902121596613271552

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions