pub struct Profile<'a> { /* private fields */ }Expand description
One original ESS reading and its CAdES-specific profile findings. Keeping the reading lets a baseline layer bind the certificate without parsing the same signed attribute a second time in that operation.
Implementations§
Source§impl<'a> Profile<'a>
impl<'a> Profile<'a>
Sourcepub fn signing(&self) -> &SigningAttributes<'a>
pub fn signing(&self) -> &SigningAttributes<'a>
Original ESS signer/path restrictions, independently of hash agreement.
Sourcepub fn faults(&self) -> &[Error]
pub fn faults(&self) -> &[Error]
CAdES placement/cardinality/profile violations from the same pass.
ESS reading diagnostics remain on Self::signing.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Profile<'a>
impl<'a> !RefUnwindSafe for Profile<'a>
impl<'a> !Send for Profile<'a>
impl<'a> !Sync for Profile<'a>
impl<'a> !UnwindSafe for Profile<'a>
impl<'a> Unpin for Profile<'a>
impl<'a> UnsafeUnpin for Profile<'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