summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/webrtc/v3/dtlsfingerprint.go
blob: db13d3ec648ffe40846f159f4bc37d0d2166b08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package webrtc

// DTLSFingerprint specifies the hash function algorithm and certificate
// fingerprint as described in https://tools.ietf.org/html/rfc4572.
type DTLSFingerprint struct {
	// Algorithm specifies one of the the hash function algorithms defined in
	// the 'Hash function Textual Names' registry.
	Algorithm string `json:"algorithm"`

	// Value specifies the value of the certificate fingerprint in lowercase
	// hex string as expressed utilizing the syntax of 'fingerprint' in
	// https://tools.ietf.org/html/rfc4572#section-5.
	Value string `json:"value"`
}