Expand description
TLS configuration from a Policy: which versions, cipher suites, key-exchange groups and
handshake signature schemes a provider carries, in preference order.
Structs§
- Client
Verifier Builder - A client-certificate verifier builder preserving hints, authentication and revocation modes.
- Client
Verifier Handle - An owned client-certificate verifier bound to its rule and handshake schemes.
- Policy
- What a TLS configuration may use: versions, suites and groups in preference order, and a set of signature schemes. No list may name an entry twice.
- Server
Verifier Builder - A server-certificate verifier builder preserving baseline revocation configuration.
- Server
Verifier Handle - An owned server-certificate verifier bound to its rule and handshake schemes.
Enums§
- Client
Verifier Input - Input to strict server completion. Opaque verifiers are rejection-only.
- Server
Verifier Input - Input to strict client completion. Opaque verifiers are rejection-only.
Functions§
- assert_
provider_ matches - Refuses a provider that does not carry exactly
p’s suites and groups in order and its schemes inTlsSignatureScheme::preferenceorder, or whose key provider is not the onecrypto_provider(p)carries. - client_
builder - A client configuration builder on
p. - client_
cert_ verifier_ builder - Builds a client-certificate verifier with
p’s canonical identity. - crypto_
provider - A provider carrying exactly
p. It refuses, in this order: an empty version, group or scheme list; a duplicate entry in any list, naming the first one found in versions, suites, groups, then schemes; an unavailable algorithm; and a suite list left empty once suites of unlisted versions are dropped; then, for each listed version in policy order, a version with no suite, no group usable at it, or no scheme a suite at it can sign with, checked in that order (PolicyVersionUnusable). A key loaded through its key provider signs only with a scheme inp.signature_schemes. - install_
default - Installs a provider for
pas the process default; refuses if one is already installed. - load_
private_ key - Loads a private key into a signing key that signs only with a scheme in
p.signature_schemes. The key’s algorithm is not checked against any profile;Resolved::certified_keychecks it. - server_
builder - A server configuration builder on
p. - server_
cert_ verifier_ builder - Builds a server-certificate verifier with
p’s canonical identity. - strict_
client_ builder - Completes a client builder with an owned verifier matching both rule and scheme set.
- strict_
server_ builder - Completes a server builder with an owned verifier matching both rule and scheme set.