#[non_exhaustive]pub struct CsrParams {
pub common_name: Option<String>,
pub organization: Option<String>,
pub organizational_unit: Option<String>,
pub dns_names: Vec<String>,
pub ip_addresses: Vec<IpAddr>,
pub uris: Vec<String>,
pub extended_key_usage: Vec<ExtendedKeyUsage>,
pub key_usage: Vec<KeyUsage>,
}Expand description
What a request asks for. An empty value leaves that part out.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.common_name: Option<String>The subject common name.
organization: Option<String>The subject organization.
organizational_unit: Option<String>The subject organizational unit.
dns_names: Vec<String>DNS subject alternative names.
ip_addresses: Vec<IpAddr>IP subject alternative names.
uris: Vec<String>URI subject alternative names.
extended_key_usage: Vec<ExtendedKeyUsage>Extended key usages.
key_usage: Vec<KeyUsage>Key usages.
Trait Implementations§
impl Eq for CsrParams
impl StructuralPartialEq for CsrParams
Auto Trait Implementations§
impl Forget for CsrParams
impl Freeze for CsrParams
impl Move for CsrParams
impl RefUnwindSafe for CsrParams
impl Send for CsrParams
impl Sync for CsrParams
impl Unpin for CsrParams
impl UnsafeUnpin for CsrParams
impl UnwindSafe for CsrParams
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