pub struct EnvelopeIssuer<'a> { /* private fields */ }Expand description
Trusted issuance helper, not a caller-facing authorization decision. The service must validate live durable ancestry, current administration and its configured policy inside its writer before calling this helper. The helper enforces cryptography, structural holder and immutable attenuation; each private scratch Kernel is discarded before returning.
Implementations§
Source§impl<'a> EnvelopeIssuer<'a>
impl<'a> EnvelopeIssuer<'a>
pub fn new(keys: &'a SuppliedKeys, catalog: &'a ClosedCatalog) -> Self
pub fn issue_from_bootstrap( &self, source: &BootstrapSource, grant: EnvelopeDraft, ) -> EnvelopeResult<AuthenticatedEnvelope>
pub fn delegate( &self, parent: &AuthenticatedEnvelope, grant: EnvelopeDraft, ) -> EnvelopeResult<AuthenticatedEnvelope>
Auto Trait Implementations§
impl<'a> Forget for EnvelopeIssuer<'a>
impl<'a> Freeze for EnvelopeIssuer<'a>
impl<'a> Move for EnvelopeIssuer<'a>
impl<'a> RefUnwindSafe for EnvelopeIssuer<'a>
impl<'a> Send for EnvelopeIssuer<'a>
impl<'a> Sync for EnvelopeIssuer<'a>
impl<'a> Unpin for EnvelopeIssuer<'a>
impl<'a> UnsafeUnpin for EnvelopeIssuer<'a>
impl<'a> UnwindSafe for EnvelopeIssuer<'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