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

//go:build go1.14
// +build go1.14

package dtls

import (
	
)

// VersionDTLS12 is the DTLS version in the same style as
// VersionTLSXX from crypto/tls.
const VersionDTLS12 = 0xfefd

// Convert from our cipherSuite interface to a tls.CipherSuite struct.
func toTLSCipherSuite( CipherSuite) *tls.CipherSuite {
	return &tls.CipherSuite{
		ID:                uint16(.ID()),
		Name:              .String(),
		SupportedVersions: []uint16{VersionDTLS12},
		Insecure:          false,
	}
}

// CipherSuites returns a list of cipher suites currently implemented by this
// package, excluding those with security issues, which are returned by
// InsecureCipherSuites.
func () []*tls.CipherSuite {
	 := allCipherSuites()
	 := make([]*tls.CipherSuite, len())
	for ,  := range  {
		[] = toTLSCipherSuite()
	}

	return 
}

// InsecureCipherSuites returns a list of cipher suites currently implemented by
// this package and which have security issues.
func () []*tls.CipherSuite {
	var  []*tls.CipherSuite

	return 
}