github.com/pion/webrtc/v3@v3.2.24/dtlsfingerprint.go (about)

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