github.com/pion/dtls/v2@v2.2.12/internal/ciphersuite/tls_ecdhe_rsa_with_aes_256_cbc_sha.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 // TLSEcdheRsaWithAes256CbcSha implements the TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA CipherSuite 9 type TLSEcdheRsaWithAes256CbcSha struct { 10 TLSEcdheEcdsaWithAes256CbcSha 11 } 12 13 // CertificateType returns what type of certificate this CipherSuite exchanges 14 func (c *TLSEcdheRsaWithAes256CbcSha) CertificateType() clientcertificate.Type { 15 return clientcertificate.RSASign 16 } 17 18 // ID returns the ID of the CipherSuite 19 func (c *TLSEcdheRsaWithAes256CbcSha) ID() ID { 20 return TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA 21 } 22 23 func (c *TLSEcdheRsaWithAes256CbcSha) String() string { 24 return "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" 25 }