pub struct CaOptions {
pub is_ca: Option<bool>,
pub max_issuer_path_length: Option<i32>,
}Expand description
Describes the X.509 basic constraints extension, per RFC 5280 section 4.2.1.9
This type is not used in any activity, and only used as part of another schema.
Fields§
§is_ca: Option<bool>Optional. Refers to the “CA” boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.
max_issuer_path_length: Option<i32>Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CaOptions
impl<'de> Deserialize<'de> for CaOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for CaOptions
Auto Trait Implementations§
impl Freeze for CaOptions
impl RefUnwindSafe for CaOptions
impl Send for CaOptions
impl Sync for CaOptions
impl Unpin for CaOptions
impl UnwindSafe for CaOptions
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