pub enum Profile {
Unrestricted,
Preferred,
Cnsa2,
Cnsa1,
Bsi,
Fips1403,
Fips1402,
}Expand description
A named profile. Each one that is named for a regime follows that regime’s published text, in
the edition Profile::governing_text names, and changes only when a new edition is published.
Variants§
Unrestricted
Every algorithm in the inventory, post-quantum key exchange first. Not a government profile.
Preferred
The crate’s recommendation. Not a government profile; see docs/profiles.md.
Cnsa2
The CNSA 2.0 algorithm set of CNSSP 15 (December 2024), Annex B, on TLS 1.3.
Cnsa1
The CNSA 1.0 algorithm set of CNSSP 15 (20 October 2016), Annex B, in RFC 9151’s TLS
profile. A transition profile for CNSA 1.0 counterparts. Not every RFC 9151 requirement is
met: docs/profiles.md names the algorithm gaps (the cnsa1 entry in section 3, sections 4
and 5), and the RFC 8603 certificate profile that §5.4 requires is not implemented.
Bsi
BSI TR-02102-2 and TR-02102-1, version 2026-01.
Fips1403
What a FIPS 140-3 boundary approves under the published texts.
Fips1402
What a FIPS 140-2 boundary approves under the published texts.
Implementations§
Source§impl Profile
impl Profile
Sourcepub const fn governing_text(self) -> GoverningText
pub const fn governing_text(self) -> GoverningText
The texts the profile follows, with each document’s edition. The profile constant’s doc comment also cites the standards and implementation guidance these texts rely on.