#[non_exhaustive]pub enum CertType {
Noc,
Icac,
Rcac,
Vvsc,
FirmwareSigning,
}Available on crate feature
rustcrypto only.Expand description
What a certificate is, as its subject DN declares (§6.5.6.2, Table 89).
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.
Noc
A Node Operational Certificate: the subject carries a matter-node-id.
Icac
An Intermediate CA Certificate: a matter-icac-id.
Rcac
A Root CA Certificate: a matter-rcac-id.
Vvsc
A Vendor Verification Signer Certificate: a matter-vvs-id.
FirmwareSigning
A firmware signing certificate: a matter-firmware-signing-id. Matter “doesn’t
specify how firmware images are signed”, but the format has room for it.
Trait Implementations§
impl Copy for CertType
impl Eq for CertType
impl StructuralPartialEq for CertType
Auto Trait Implementations§
impl Forget for CertType
impl Freeze for CertType
impl Move for CertType
impl RefUnwindSafe for CertType
impl Send for CertType
impl Sync for CertType
impl Unpin for CertType
impl UnsafeUnpin for CertType
impl UnwindSafe for CertType
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