RTCDtlsTransportState
Enum
- WebIDLenum
RTCDtlsTransportState
{- "
new
",- "
connecting
",- "
connected
",- "
closed
",- "
failed
"- };
Enumeration description | |
---|---|
new | DTLS has not started negotiating yet. |
connecting | DTLS is in the process of negotiating a secure connection and verifying the remote fingerprint. |
connected | DTLS has completed negotiation of a secure connection and verified the remote fingerprint. |
closed | The transport has been closed intentionally as the result of receipt of a close_notify alert, or calling
() . |
failed | The transport has failed as the result of an error (such as receipt of an error alert or failure to validate the remote fingerprint). |
5.5.1 RTCDtlsFingerprint
Dictionary
The RTCDtlsFingerprint
dictionary includes the hash function algorithm and certificate fingerprint as described in [RFC4572].
Dictionary RTCDtlsFingerprint Members
algorithm
of type DOMString
One of the the hash function algorithms defined in the ‘Hash function Textual Names’ registry [IANA-HASH-FUNCTION].
value
of type DOMString
The value of the certificate fingerprint in lowercase hex string as expressed utilizing the syntax of ‘fingerprint’ in [RFC4572] Section 5.