pub struct CertificateSet<'a> { /* private fields */ }Expand description
A schema-selected original [0] IMPLICIT CertificateSet, without a
fabricated SignedData envelope. The same field kernel handles PoE extras.
Implementations§
Source§impl<'a> CertificateSet<'a>
impl<'a> CertificateSet<'a>
Sourcepub fn read(
parent: &Reader<'a>,
element: &Element<'a>,
field: &'static str,
) -> Result<Self>
pub fn read( parent: &Reader<'a>, element: &Element<'a>, field: &'static str, ) -> Result<Self>
Reads all choices with producing/current admission before growth.
Sourcepub fn choices(&self) -> &[CertificateChoice<'a>]
pub fn choices(&self) -> &[CertificateChoice<'a>]
Every original choice; X509 indices select this set’s certificate pool.
Sourcepub fn certificates(&self) -> &[Certificate<'a>]
pub fn certificates(&self) -> &[Certificate<'a>]
First-read X509 models, without cloning or reparsing certificate values.
Sourcepub fn fields_source(&self) -> FieldsSource<'a>
pub fn fields_source(&self) -> FieldsSource<'a>
Original choice cursor/depth, reusable under current query Work.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for CertificateSet<'a>
impl<'a> !RefUnwindSafe for CertificateSet<'a>
impl<'a> !Send for CertificateSet<'a>
impl<'a> !Sync for CertificateSet<'a>
impl<'a> !UnwindSafe for CertificateSet<'a>
impl<'a> Unpin for CertificateSet<'a>
impl<'a> UnsafeUnpin for CertificateSet<'a>
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