pub struct Subscriber {
pub certificate_type: CertificateType,
pub issuer: Name,
pub client_auth: bool,
pub tls12_options: Tls12Options,
pub enable_data_encipherment: bool,
}Expand description
7.1.2.7 Subscriber (Server) Certificate Profile
Fields§
§certificate_type: CertificateTypeSubtype of the Subscriber Certificate Profile
issuer: Nameissuer Name, represents the name signing the certificate
client_auth: boolEnable client authentication with the newly issued certificate
tls12_options: Tls12OptionsTLS1.2 specific flags
It is only available under the hazmat feature flag.
enable_data_encipherment: boolEnable dataEncipherment bit on KeyUsage.
This bit is not recommended and is Pending Prohibition.
It is only available under the hazmat feature flag.
Trait Implementations§
Source§impl BuilderProfile for Subscriber
impl BuilderProfile for Subscriber
Source§fn get_issuer(&self, _subject: &Name) -> Name
fn get_issuer(&self, _subject: &Name) -> Name
Issuer to be used for issued certificates
Source§fn get_subject(&self) -> Name
fn get_subject(&self) -> Name
Subject for the certificate to be used.
Source§fn build_extensions(
&self,
spk: SubjectPublicKeyInfo<AnyRef<'_>, BitStringRef<'_>>,
issuer_spk: SubjectPublicKeyInfo<AnyRef<'_>, BitStringRef<'_>>,
tbs: &TbsCertificateInner,
) -> Result<Vec<Extension>, Error>
fn build_extensions( &self, spk: SubjectPublicKeyInfo<AnyRef<'_>, BitStringRef<'_>>, issuer_spk: SubjectPublicKeyInfo<AnyRef<'_>, BitStringRef<'_>>, tbs: &TbsCertificateInner, ) -> Result<Vec<Extension>, Error>
X509v3 extensions to be added in the certificates.
Auto Trait Implementations§
impl Freeze for Subscriber
impl RefUnwindSafe for Subscriber
impl Send for Subscriber
impl Sync for Subscriber
impl Unpin for Subscriber
impl UnsafeUnpin for Subscriber
impl UnwindSafe for Subscriber
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