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§
§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 Freeze 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