srtp_protection_profile.go 877 B

1234567891011121314151617
  1. // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
  2. // SPDX-License-Identifier: MIT
  3. package dtls
  4. import "github.com/pion/dtls/v2/pkg/protocol/extension"
  5. // SRTPProtectionProfile defines the parameters and options that are in effect for the SRTP processing
  6. // https://tools.ietf.org/html/rfc5764#section-4.1.2
  7. type SRTPProtectionProfile = extension.SRTPProtectionProfile
  8. const (
  9. SRTP_AES128_CM_HMAC_SHA1_80 SRTPProtectionProfile = extension.SRTP_AES128_CM_HMAC_SHA1_80 // nolint:revive,stylecheck
  10. SRTP_AES128_CM_HMAC_SHA1_32 SRTPProtectionProfile = extension.SRTP_AES128_CM_HMAC_SHA1_32 // nolint:revive,stylecheck
  11. SRTP_AEAD_AES_128_GCM SRTPProtectionProfile = extension.SRTP_AEAD_AES_128_GCM // nolint:revive,stylecheck
  12. SRTP_AEAD_AES_256_GCM SRTPProtectionProfile = extension.SRTP_AEAD_AES_256_GCM // nolint:revive,stylecheck
  13. )