pub struct MasterPublicKey { /* private fields */ }Expand description
The master public key of a threshold signature system
Implementations§
Source§impl MasterPublicKey
impl MasterPublicKey
Sourcepub fn derive_canister_key(&self, canister_id: &CanisterId) -> CanisterMasterKey
pub fn derive_canister_key(&self, canister_id: &CanisterId) -> CanisterMasterKey
Derive the master key for a canister
Trait Implementations§
Source§impl TryFrom<&EcdsaKeyId> for MasterPublicKey
impl TryFrom<&EcdsaKeyId> for MasterPublicKey
Source§impl TryFrom<&SchnorrKeyId> for MasterPublicKey
impl TryFrom<&SchnorrKeyId> for MasterPublicKey
Source§impl TryFrom<&VetKDKeyId> for MasterPublicKey
impl TryFrom<&VetKDKeyId> for MasterPublicKey
Auto Trait Implementations§
impl Freeze for MasterPublicKey
impl RefUnwindSafe for MasterPublicKey
impl Send for MasterPublicKey
impl Sync for MasterPublicKey
impl Unpin for MasterPublicKey
impl UnwindSafe for MasterPublicKey
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