Module rustls_ffi::cipher
source · Structs§
- An X.509 certificate, as used in rustls. Corresponds to
CertificateDer
in the Rust pki-types API. https://docs.rs/rustls-pki-types/latest/rustls_pki_types/struct.CertificateDer.html - The complete chain of certificates to send during a TLS handshake, plus a private key that matches the end-entity (leaf) certificate.
- A built client certificate verifier that can be provided to a
rustls_server_config_builder
withrustls_server_config_builder_set_client_verifier
. - A root certificate store. https://docs.rs/rustls/latest/rustls/struct.RootCertStore.html
- A
rustls_root_cert_store
being constructed. - A built server certificate verifier that can be provided to a
rustls_client_config_builder
withrustls_client_config_builder_set_server_verifier
. - A cipher suite supported by rustls.
- A client certificate verifier being constructed.
- A server certificate verifier being constructed.
Functions§
- Get the DER data of the certificate itself. The data is owned by the certificate and has the same lifetime.
- Returns the name of the ciphersuite as a
rustls_str
. - Returns the
rustls_tls_version
of the ciphersuite.