#[non_exhaustive]pub enum CertProfile {
RootCa,
SubCa,
TlsServer,
CodeSigning,
EndEntity,
}Expand description
The certificate shape an issue_certificate step asks for.
DSL vocabulary rather than a backend concern: the author writes the name,
and the handler turns it into X.509 extensions. path_len is a separate
parameter, not part of a profile’s identity, so this enum carries no
run-specific values.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RootCa
Self-signed CA at the top of a chain.
SubCa
CA below another, constrained by path_len.
TlsServer
TLS server certificate.
CodeSigning
Code-signing certificate.
EndEntity
A leaf with no CA rights and no extended key usage.
Trait Implementations§
Source§impl Clone for CertProfile
impl Clone for CertProfile
impl Copy for CertProfile
Source§impl Debug for CertProfile
impl Debug for CertProfile
Source§impl<'de> Deserialize<'de> for CertProfile
impl<'de> Deserialize<'de> for CertProfile
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
Source§impl Display for CertProfile
impl Display for CertProfile
impl Eq for CertProfile
Source§impl FromStr for CertProfile
impl FromStr for CertProfile
Source§impl PartialEq for CertProfile
impl PartialEq for CertProfile
Source§impl Serialize for CertProfile
impl Serialize for CertProfile
impl StructuralPartialEq for CertProfile
Auto Trait Implementations§
impl Freeze for CertProfile
impl RefUnwindSafe for CertProfile
impl Send for CertProfile
impl Sync for CertProfile
impl Unpin for CertProfile
impl UnsafeUnpin for CertProfile
impl UnwindSafe for CertProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.