Expand description
Structs§
- Feature
Set - Boolean feature flags describing which protocol and algorithm areas are enabled for a
Profile. - Library
Config - Top-level NoxTLS library configuration: active profile and effective security policy.
- Security
Policy - User-tunable security policy switches paired with a
Profile.
Enums§
- Constant
Time Policy - Selects how aggressively cryptographic code paths avoid data-dependent timing.
- Error
- Library-wide error type for length, encoding, parse, state, crypto, and feature failures.
- Profile
- Named build or deployment profiles that map to coarse-grained feature sets.
Functions§
- compiled_
allow_ legacy_ algorithms - Returns whether the
policy-allow-legacy-algorithmsCargo feature was enabled at compile time. - compiled_
allow_ sha1_ signatures - Returns whether the
policy-allow-sha1-signaturesCargo feature was enabled at compile time. - compiled_
strict_ constant_ time - Returns whether the
policy-strict-constant-timeCargo feature was enabled at compile time. - read_
u16_ be - Reads an unsigned 16-bit big-endian integer from the start of
input. - read_
u24_ be - Reads an unsigned 24-bit big-endian integer from the start of
input. - secure_
zero - Overwrites
datawith zero bytes to reduce sensitive material lifetime in memory.
Type Aliases§
- Result
- Convenient
core::result::Resultalias usingErroras the error type.