Source File
tls_psk_with_aes_128_gcm_sha256.go
Belonging Package
github.com/pion/dtls/v2/internal/ciphersuite
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage ciphersuiteimport// TLSPskWithAes128GcmSha256 implements the TLS_PSK_WITH_AES_128_GCM_SHA256 CipherSuitetype TLSPskWithAes128GcmSha256 struct {TLSEcdheEcdsaWithAes128GcmSha256}// CertificateType returns what type of certificate this CipherSuite exchangesfunc ( *TLSPskWithAes128GcmSha256) () clientcertificate.Type {return clientcertificate.Type(0)}// KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshakefunc ( *TLSPskWithAes128GcmSha256) () KeyExchangeAlgorithm {return KeyExchangeAlgorithmPsk}// ID returns the ID of the CipherSuitefunc ( *TLSPskWithAes128GcmSha256) () ID {return TLS_PSK_WITH_AES_128_GCM_SHA256}func ( *TLSPskWithAes128GcmSha256) () string {return "TLS_PSK_WITH_AES_128_GCM_SHA256"}// AuthenticationType controls what authentication method is using during the handshakefunc ( *TLSPskWithAes128GcmSha256) () AuthenticationType {return AuthenticationTypePreSharedKey}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |