pub enum CertificateType {
DomainValidated(DomainValidated),
IndividualValidated,
OrganizationValidated,
ExtendedValidation,
}Expand description
Type of Subscriber Certificates that may be issued.
Variants§
DomainValidated(DomainValidated)
Subscriber Certificate to be Domain Validated
IndividualValidated
Subscriber Certificate to be Individual Validated
OrganizationValidated
Subscriber Certificate to be Organization Validated
ExtendedValidation
Subscriber Certificate to be Extended Validation
Implementations§
Source§impl CertificateType
impl CertificateType
Sourcepub fn domain_validated(
subject: Name,
names: Vec<GeneralName>,
) -> Result<CertificateType, Error>
pub fn domain_validated( subject: Name, names: Vec<GeneralName>, ) -> Result<CertificateType, Error>
Creates a new CertificateType that has been domain validated
Trait Implementations§
Source§impl Clone for CertificateType
impl Clone for CertificateType
Source§fn clone(&self) -> CertificateType
fn clone(&self) -> CertificateType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CertificateType
impl Debug for CertificateType
Source§impl PartialEq for CertificateType
impl PartialEq for CertificateType
impl StructuralPartialEq for CertificateType
Auto Trait Implementations§
impl Freeze for CertificateType
impl RefUnwindSafe for CertificateType
impl Send for CertificateType
impl Sync for CertificateType
impl Unpin for CertificateType
impl UnsafeUnpin for CertificateType
impl UnwindSafe for CertificateType
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