github.com/pion/dtls/v2@v2.2.12/internal/ciphersuite/tls_ecdhe_rsa_with_aes_256_gcm_sha384.go (about) 1 // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly> 2 // SPDX-License-Identifier: MIT 3 4 package ciphersuite 5 6 import "github.com/pion/dtls/v2/pkg/crypto/clientcertificate" 7 8 // TLSEcdheRsaWithAes256GcmSha384 implements the TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 CipherSuite 9 type TLSEcdheRsaWithAes256GcmSha384 struct { 10 TLSEcdheEcdsaWithAes256GcmSha384 11 } 12 13 // CertificateType returns what type of certificate this CipherSuite exchanges 14 func (c *TLSEcdheRsaWithAes256GcmSha384) CertificateType() clientcertificate.Type { 15 return clientcertificate.RSASign 16 } 17 18 // ID returns the ID of the CipherSuite 19 func (c *TLSEcdheRsaWithAes256GcmSha384) ID() ID { 20 return TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 21 } 22 23 func (c *TLSEcdheRsaWithAes256GcmSha384) String() string { 24 return "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" 25 }