pub struct CertificateConfig {
pub public_key: Option<PublicKey>,
pub subject_config: Option<SubjectConfig>,
pub subject_key_id: Option<CertificateConfigKeyId>,
pub x509_config: Option<X509Parameters>,
}Expand description
A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.
This type is not used in any activity, and only used as part of another schema.
Fields§
§public_key: Option<PublicKey>Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
subject_config: Option<SubjectConfig>Required. Specifies some of the values in a certificate that are related to the subject.
subject_key_id: Option<CertificateConfigKeyId>Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
x509_config: Option<X509Parameters>Required. Describes how some of the technical X.509 fields in a certificate should be populated.
Trait Implementations§
Source§impl Clone for CertificateConfig
impl Clone for CertificateConfig
Source§fn clone(&self) -> CertificateConfig
fn clone(&self) -> CertificateConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more