pub struct MintAuthority { /* private fields */ }Expand description
The key material a ledger checks issuance authorizations against.
Deliberately data, not behaviour: there is no trait here, so there is nothing for a downstream crate to implement permissively. Supplied at backend construction and immutable afterwards.
Implementations§
Source§impl MintAuthority
impl MintAuthority
Sourcepub fn hybrid(ed_vk: VerifyingKey, pq_vk: MlDsaVerifyingKey) -> Self
pub fn hybrid(ed_vk: VerifyingKey, pq_vk: MlDsaVerifyingKey) -> Self
The production constructor: hybrid EdDSA + ML-DSA-65.
A classical-only authorization is refused under this authority, so a missing PQ arm fails closed instead of silently downgrading.
Sourcepub fn classical(ed_vk: VerifyingKey) -> Self
pub fn classical(ed_vk: VerifyingKey) -> Self
Classical-only (Ed25519). For tests and constrained environments —
production uses Self::hybrid, matching the checkpoint-signer rule.
Trait Implementations§
Source§impl Clone for MintAuthority
impl Clone for MintAuthority
Source§fn clone(&self) -> MintAuthority
fn clone(&self) -> MintAuthority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MintAuthority
impl RefUnwindSafe for MintAuthority
impl Send for MintAuthority
impl Sync for MintAuthority
impl Unpin for MintAuthority
impl UnsafeUnpin for MintAuthority
impl UnwindSafe for MintAuthority
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