diff options
Diffstat (limited to 'vendor/github.com/pion/webrtc/v3/dtlsfingerprint.go')
-rw-r--r-- | vendor/github.com/pion/webrtc/v3/dtlsfingerprint.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/pion/webrtc/v3/dtlsfingerprint.go b/vendor/github.com/pion/webrtc/v3/dtlsfingerprint.go new file mode 100644 index 0000000..db13d3e --- /dev/null +++ b/vendor/github.com/pion/webrtc/v3/dtlsfingerprint.go @@ -0,0 +1,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"` +} |