pub struct X509Parameters {
pub additional_extensions: Option<Vec<X509Extension>>,
pub aia_ocsp_servers: Option<Vec<String>>,
pub ca_options: Option<CaOptions>,
pub key_usage: Option<KeyUsage>,
pub name_constraints: Option<NameConstraints>,
pub policy_ids: Option<Vec<ObjectId>>,
}Expand description
An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_extensions: Option<Vec<X509Extension>>Optional. Describes custom X.509 extensions.
aia_ocsp_servers: Option<Vec<String>>Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the “Authority Information Access” extension in the certificate.
ca_options: Option<CaOptions>Optional. Describes options in this X509Parameters that are relevant in a CA certificate. If not specified, a default basic constraints extension with is_ca=false will be added for leaf certificates.
key_usage: Option<KeyUsage>Optional. Indicates the intended use for keys that correspond to a certificate.
name_constraints: Option<NameConstraints>Optional. Describes the X.509 name constraints extension.
policy_ids: Option<Vec<ObjectId>>Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
Trait Implementations§
Source§impl Clone for X509Parameters
impl Clone for X509Parameters
Source§fn clone(&self) -> X509Parameters
fn clone(&self) -> X509Parameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more