Skip to main content

select

Function select 

Source
pub fn select(
    profile: Profile,
    options: Options,
    module: Module,
) -> Result<Selection, CryptoError>
Expand description

The backend-independent half of a backend’s resolve: profile’s lists, narrowed by options; pq_key_exchange_required also removes TLS 1.2, its suites and the RSA PKCS#1 v1.5 handshake schemes. Records entries the module line lacks in Selection::excluded, then refuses a family left empty with CryptoError::EmptyProfile. Both use versions, suites, groups, schemes and keys order, preserving preference order. Approval is a separate check.