// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT

package ciphersuite

import 

// TLSPskWithAes128GcmSha256 implements the TLS_PSK_WITH_AES_128_GCM_SHA256 CipherSuite.
type TLSPskWithAes128GcmSha256 struct {
	TLSEcdheEcdsaWithAes128GcmSha256
}

// CertificateType returns what type of certificate this CipherSuite exchanges.
func ( *TLSPskWithAes128GcmSha256) () clientcertificate.Type {
	return clientcertificate.Type(0)
}

// KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake.
func ( *TLSPskWithAes128GcmSha256) () KeyExchangeAlgorithm {
	return KeyExchangeAlgorithmPsk
}

// ID returns the ID of the CipherSuite.
func ( *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 handshake.
func ( *TLSPskWithAes128GcmSha256) () AuthenticationType {
	return AuthenticationTypePreSharedKey
}