RustlsIntegration

Trait RustlsIntegration 

Source
pub trait RustlsIntegration {
    // Required methods
    fn to_rustls_named_group(&self) -> Option<NamedGroup>;
    fn to_rustls_signature_scheme(&self) -> Option<SignatureScheme>;
}
Expand description

Extension trait for rustls integration

Required Methods§

Source

fn to_rustls_named_group(&self) -> Option<NamedGroup>

Convert to rustls NamedGroup if supported

Source

fn to_rustls_signature_scheme(&self) -> Option<SignatureScheme>

Convert to rustls SignatureScheme if supported

Implementors§

Source§

impl RustlsIntegration for NamedGroup

Available on crate features rustls-ring or rustls-aws-lc-rs only.
Source§

impl RustlsIntegration for SignatureScheme

Available on crate features rustls-ring or rustls-aws-lc-rs only.