dtlsfingerprint.go 573 B

1234567891011121314
  1. package webrtc
  2. // DTLSFingerprint specifies the hash function algorithm and certificate
  3. // fingerprint as described in https://tools.ietf.org/html/rfc4572.
  4. type DTLSFingerprint struct {
  5. // Algorithm specifies one of the the hash function algorithms defined in
  6. // the 'Hash function Textual Names' registry.
  7. Algorithm string `json:"algorithm"`
  8. // Value specifies the value of the certificate fingerprint in lowercase
  9. // hex string as expressed utilizing the syntax of 'fingerprint' in
  10. // https://tools.ietf.org/html/rfc4572#section-5.
  11. Value string `json:"value"`
  12. }