// Copyright 2024 Saorsa Labs Ltd.
//
// This Saorsa Network Software is licensed under the General Public License (GPL), version 3.
// Please see the file LICENSE-GPL, or visit <http://www.gnu.org/licenses/> for the full text.
//
// Full details available at https://saorsalabs.com/licenses
//! Extension Handlers for RFC 7250 Raw Public Keys
//!
//! Note: rustls 0.23.x does not yet have full RFC 7250 Raw Public Keys support.
//! See https://github.com/rustls/rustls/issues/423 for the tracking issue.
//!
//! This module provides a workaround by using custom certificate verifiers
//! that can handle SubjectPublicKeyInfo structures as "certificates".
use Arc;
use ;
use CertificateTypePreferences;
/// Configure client with certificate type preferences
/// Configure server with certificate type preferences