Struct unleash_edge::cli::ClientIdentity
source · pub struct ClientIdentity {
pub pkcs8_client_certificate_file: Option<PathBuf>,
pub pkcs8_client_key_file: Option<PathBuf>,
pub pkcs12_identity_file: Option<PathBuf>,
pub pkcs12_passphrase: Option<String>,
}
Fields§
§pkcs8_client_certificate_file: Option<PathBuf>
Client certificate chain in PEM encoded X509 format with the leaf certificate first. The certificate chain should contain any intermediate certificates that should be sent to clients to allow them to build a chain to a trusted root
pkcs8_client_key_file: Option<PathBuf>
Client key is a PEM encoded PKCS#8 formatted private key for the leaf certificate
pkcs12_identity_file: Option<PathBuf>
Identity file in pkcs12 format. Typically this file has a pfx extension
pkcs12_passphrase: Option<String>
Passphrase used to unlock the pkcs12 file
Trait Implementations§
source§impl Args for ClientIdentity
impl Args for ClientIdentity
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for ClientIdentity
impl Clone for ClientIdentity
source§fn clone(&self) -> ClientIdentity
fn clone(&self) -> ClientIdentity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClientIdentity
impl Debug for ClientIdentity
source§impl FromArgMatches for ClientIdentity
impl FromArgMatches for ClientIdentity
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
.Auto Trait Implementations§
impl Freeze for ClientIdentity
impl RefUnwindSafe for ClientIdentity
impl Send for ClientIdentity
impl Sync for ClientIdentity
impl Unpin for ClientIdentity
impl UnwindSafe for ClientIdentity
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