pub struct CertificateGenerationArgs<'a> {Show 13 fields
pub signature_scheme: SignatureScheme,
pub profile: CertProfile,
pub serial: u64,
pub validity_start: Option<Duration>,
pub validity_from_start: Duration,
pub org: &'a str,
pub common_name: Option<&'a str>,
pub alternative_names: Option<&'a [&'a str]>,
pub domain: Option<&'a str>,
pub crl_dps: Option<&'a [&'a str]>,
pub signer: Option<&'a PkiKeypair>,
pub is_ca: bool,
pub is_root: bool,
}
Fields§
§signature_scheme: SignatureScheme
§profile: CertProfile
§serial: u64
§validity_start: Option<Duration>
Duration since UNIX EPOCH
validity_from_start: Duration
Duration relative to validity_start
if present. Otherwise relative to now
org: &'a str
§common_name: Option<&'a str>
§alternative_names: Option<&'a [&'a str]>
§domain: Option<&'a str>
§crl_dps: Option<&'a [&'a str]>
§signer: Option<&'a PkiKeypair>
§is_ca: bool
§is_root: bool
Auto Trait Implementations§
impl<'a> Freeze for CertificateGenerationArgs<'a>
impl<'a> RefUnwindSafe for CertificateGenerationArgs<'a>
impl<'a> Send for CertificateGenerationArgs<'a>
impl<'a> Sync for CertificateGenerationArgs<'a>
impl<'a> Unpin for CertificateGenerationArgs<'a>
impl<'a> UnwindSafe for CertificateGenerationArgs<'a>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more