Struct ssh_openpgp_auth::Authenticate
source · pub struct Authenticate {
pub host: String,
pub time: Option<DateTime<Utc>>,
pub cert_store: Option<PathBuf>,
pub nameserver: SocketAddr,
pub verify_dns_proof: bool,
pub verify_wot: bool,
}
Fields§
§host: String
Target host to authenticate. This should be a DNS name.
time: Option<DateTime<Utc>>
Certificate time. By default now. Example: 2021-11-21T11:11:11Z
cert_store: Option<PathBuf>
Certificate store. By default uses user’s shared PGP certificate directory.
nameserver: SocketAddr
Nameserver to use for DNS lookups (if enabled).
verify_dns_proof: bool
Verify Keyoxide DNS proofs of certificates.
verify_wot: bool
Verify the certificates using local Web of Trust network.
Trait Implementations§
source§impl Args for Authenticate
impl Args for Authenticate
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for Authenticate
impl CommandFactory for Authenticate
source§impl Debug for Authenticate
impl Debug for Authenticate
source§impl Default for Authenticate
impl Default for Authenticate
source§impl FromArgMatches for Authenticate
impl FromArgMatches for Authenticate
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Parser for Authenticate
impl Parser for Authenticate
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error.
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
Auto Trait Implementations§
impl RefUnwindSafe for Authenticate
impl Send for Authenticate
impl Sync for Authenticate
impl Unpin for Authenticate
impl UnwindSafe for Authenticate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more