dtlsfingerprint.go 675 B

1234567891011121314151617
  1. // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
  2. // SPDX-License-Identifier: MIT
  3. package webrtc
  4. // DTLSFingerprint specifies the hash function algorithm and certificate
  5. // fingerprint as described in https://tools.ietf.org/html/rfc4572.
  6. type DTLSFingerprint struct {
  7. // Algorithm specifies one of the the hash function algorithms defined in
  8. // the 'Hash function Textual Names' registry.
  9. Algorithm string `json:"algorithm"`
  10. // Value specifies the value of the certificate fingerprint in lowercase
  11. // hex string as expressed utilizing the syntax of 'fingerprint' in
  12. // https://tools.ietf.org/html/rfc4572#section-5.
  13. Value string `json:"value"`
  14. }