srtp_protection_profile.go 775 B

1234567891011121314
  1. package dtls
  2. import "github.com/pion/dtls/v2/pkg/protocol/extension"
  3. // SRTPProtectionProfile defines the parameters and options that are in effect for the SRTP processing
  4. // https://tools.ietf.org/html/rfc5764#section-4.1.2
  5. type SRTPProtectionProfile = extension.SRTPProtectionProfile
  6. const (
  7. SRTP_AES128_CM_HMAC_SHA1_80 SRTPProtectionProfile = extension.SRTP_AES128_CM_HMAC_SHA1_80 // nolint:revive,stylecheck
  8. SRTP_AES128_CM_HMAC_SHA1_32 SRTPProtectionProfile = extension.SRTP_AES128_CM_HMAC_SHA1_32 // nolint:revive,stylecheck
  9. SRTP_AEAD_AES_128_GCM SRTPProtectionProfile = extension.SRTP_AEAD_AES_128_GCM // nolint:revive,stylecheck
  10. SRTP_AEAD_AES_256_GCM SRTPProtectionProfile = extension.SRTP_AEAD_AES_256_GCM // nolint:revive,stylecheck
  11. )