Expand description
The wolfssl crate is designed to be a Rust layer built on top of
the wolfssl-sys crate (a C passthrough crate).
Structs§
- Struct for encrypt/decrypt using Chacha20 cipher and authentication using Poly1305
- A wrapper around a
WOLFSSL_CTX. - Produces a
Contextonce built. - Provides a way to extract random values from WolfSSL.
- Wraps a
WOLFSSLpointer, as well as the additional fields needed to write into, and read from, wolfSSL’s custom IO callbacks. - Stores configurations we want to initialize a
Sessionwith.
Enums§
- Corresponds to the various defined
WOLFSSL_*curves - The failure result of an operation.
- Extracts an error message given a wolfssl error enum. Abstraction over WolfSSL errors
- Result type to be returned by methods on
IOCallbacks - Corresponds to the various
wolf*_{client,server}_method()APIs - Error creating a
ContextBuilderobject. - Error creating a
Sessionobject. - The
Result::Okfor a non-blocking operation. - TLS/DTLS protocol versions
- Defines a CA certificate
- Defines either a public or private key
- SSL Verification method Ref:
https://www.wolfssl.com/doxygen/group__Setup.html#gaf9198658e31dd291088be18262ef2354
Traits§
- The application provided IO callbacks documented at
EmbedRecieve(whose inputs and outputs we need to emulate). See alsowolfSSL_CTX_SetIORecvwhich is the best docs forwolfSSL_SSLSetIORecvandwolfSSL_SSLSetIOSend, which are what we actually use.
Type Aliases§
- Describes an outcome that is synchronous.