pub enum Slot {
Root {
fabric_index: FabricIndex,
caid: TlsCaid,
},
Client {
fabric_index: FabricIndex,
ccdid: TlsCcdid,
},
Intermediate {
fabric_index: FabricIndex,
ccdid: TlsCcdid,
index: u8,
},
}Available on crate feature
rustcrypto only.Expand description
Which stored certificate a TlsCertificateHooks call is about.
Every slot is fabric-scoped: §14.4.4.3 and §14.4.4.4 are both “Access Modifier: Fabric Scoped”, and two fabrics may hold the same id.
Variants§
Root
A root CA certificate (TLSRCAC), by its TLSCAID.
Fields
§
fabric_index: FabricIndexThe fabric that provisioned it.
Client
A client certificate, by its TLSCCDID.
Fields
§
fabric_index: FabricIndexThe fabric that provisioned it.
Intermediate
One intermediate certificate of a client certificate’s chain, in chain order.
Fields
§
fabric_index: FabricIndexThe fabric that provisioned it.
§
index: u8Its position in the chain, 0..INTERMEDIATES_MAX.
Trait Implementations§
impl Copy for Slot
impl Eq for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Forget for Slot
impl Freeze for Slot
impl Move for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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