Enum libunftp::options::FtpsClientAuth [−][src]
pub enum FtpsClientAuth {
Off,
Request,
Require,
}
Expand description
The option to Server.ftps_client_auth. Tells if and how mutual TLS (client certificate authentication) should be handled.
Variants
Mutual TLS is switched off and the server won’t ask the client for a certificate in the TLS protocol. This is the default.
Mutual TLS is on and whilst the server will request a certificate it will still proceed without one. If a certificate is sent by the client it will be validated against the configured trust anchors (see Server::ftps_trust_store).
Mutual TLS is on, the server will request a certificate and it won’t proceed without a client certificate that validates against the configured trust anchors (see Server::ftps_trust_store).
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FtpsClientAuth
impl Send for FtpsClientAuth
impl Sync for FtpsClientAuth
impl Unpin for FtpsClientAuth
impl UnwindSafe for FtpsClientAuth
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more